XOOPS Cube Legacy base repository
Revisión | 1ea3266c7c19a927c48f3e5f79b67ebaf5c81def (tree) |
---|---|
Tiempo | 2011-12-23 07:35:34 |
Autor | bindi <bindi@704c...> |
Commiter | bindi |
Fix Bug #3464105 - Timing of the client data set
git-svn-id: https://xoopscube.svn.sourceforge.net/svnroot/xoopscube/Package_Legacy/trunk@1096 704cf05f-ae62-4b0e-a484-234ee0250e75
@@ -41,7 +41,10 @@ abstract class Legacy_AbstractClientObjectHandler extends XoopsObjectGenericHand | ||
41 | 41 | public function insert(/*** XoopsSimpleObject ***/ $obj, /*** bool ***/ $force=false) |
42 | 42 | { |
43 | 43 | $ret = parent::insert($obj, $force); |
44 | - $this->_setClientData($obj); | |
44 | + if ($ret == true) | |
45 | + { | |
46 | + $ret = $this->_setClientData($obj); | |
47 | + } | |
45 | 48 | |
46 | 49 | return $ret; |
47 | 50 | } |