浏览代码

Minor fix

git-svn-id: http://svn.code.sf.net/p/itop/code/trunk@413 a333f486-631f-4898-b8df-5754b55c2be0
dflaven 15 年之前
父节点
当前提交
4981752774
共有 1 个文件被更改,包括 4 次插入0 次删除
  1. 4 0
      core/dbobject.class.php

+ 4 - 0
core/dbobject.class.php

@@ -399,6 +399,10 @@ abstract class DBObject
 				if (is_object($oTargetObj))
 				{
 					$sEditValue = $oTargetObj->GetName();
+				}
+				else
+				{
+					$sEditValue = 0;
 				}					
 			}
 			else