• R/O
  • HTTP
  • SSH
  • HTTPS

Commit

Tags
Keine Tags

Frequently used words (click to add to your profile)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

XOOPS Cube Legacy base repository


Commit MetaInfo

Revision978f5c02ec2b333302acf9eb5f07a2f07be02e49 (tree)
Zeit2011-11-24 19:39:39
Autorkilica <kilica@704c...>
Commiterkilica

Log Message

- Fix Bug #3380517 - user module edit error

git-svn-id: https://xoopscube.svn.sourceforge.net/svnroot/xoopscube/Package_Legacy/trunk@1062 704cf05f-ae62-4b0e-a484-234ee0250e75

Ändern Zusammenfassung

Diff

--- a/html/modules/profile/class/handler/Data.class.php
+++ b/html/modules/profile/class/handler/Data.class.php
@@ -76,6 +76,14 @@ class Profile_DataHandler extends XoopsObjectGenericHandler
7676 var $mPrimary = 'uid';
7777 var $mClass = 'Profile_DataObject';
7878
79+ public function insert(&$obj, $force = false)
80+ {
81+ if(count($obj->mDef)===0){
82+ return true;
83+ }
84+ parent::insert(&$obj, $force = false);
85+ }
86+
7987 }
8088
8189 ?>