소스 검색

#816 Completed the fix (still a Notice)

git-svn-id: http://svn.code.sf.net/p/itop/code/trunk@3001 a333f486-631f-4898-b8df-5754b55c2be0
romainq 11 년 전
부모
커밋
2ebe72fd17
1개의 변경된 파일4개의 추가작업 그리고 1개의 파일을 삭제
  1. 4 1
      core/metamodel.class.php

+ 4 - 1
core/metamodel.class.php

@@ -2106,7 +2106,10 @@ abstract class MetaModel
 			}
 			else
 			{
-				$aScalarArgs[$sArgName] = (string) $value;
+				if (is_scalar($value))
+				{
+					$aScalarArgs[$sArgName] = (string) $value;
+				}
 			}
 		}
 		// Add standard contextual arguments