• R/O
  • HTTP
  • SSH
  • HTTPS

Commit

Tags
No 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

Revisión1ea3266c7c19a927c48f3e5f79b67ebaf5c81def (tree)
Tiempo2011-12-23 07:35:34
Autorbindi <bindi@704c...>
Commiterbindi

Log Message

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

Cambiar Resumen

Diferencia incremental

--- a/html/modules/legacy/class/interface/AbstractClientObjectHandler.class.php
+++ b/html/modules/legacy/class/interface/AbstractClientObjectHandler.class.php
@@ -41,7 +41,10 @@ abstract class Legacy_AbstractClientObjectHandler extends XoopsObjectGenericHand
4141 public function insert(/*** XoopsSimpleObject ***/ $obj, /*** bool ***/ $force=false)
4242 {
4343 $ret = parent::insert($obj, $force);
44- $this->_setClientData($obj);
44+ if ($ret == true)
45+ {
46+ $ret = $this->_setClientData($obj);
47+ }
4548
4649 return $ret;
4750 }