Robert Marshall 9 anni fa
parent
commit
e6136d7a2f
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1 1
      Model/DBObject.php

+ 1 - 1
Model/DBObject.php

@@ -50,7 +50,7 @@ class DBObject implements ISavableObject {
 		if (is_array($key)&&is_array($id)) {
 			$this->_keys=$key;
 			$this->_ids=$id;
-		} elseif ($id!=0) {
+		} elseif ($id) {
 			$this->_keys=array($key);
 			$this->_ids=array($id);
 		}