Index: trunk/kernel/include/itemdb.php =================================================================== diff -u -r869 -r872 --- trunk/kernel/include/itemdb.php (.../itemdb.php) (revision 869) +++ trunk/kernel/include/itemdb.php (.../itemdb.php) (revision 872) @@ -162,7 +162,7 @@ $var = "m_" . $name[$i]; if( !$this->HasField($name[$i]) || ($this->Data[$name[$i]] != $value[$i])) { - if ($_GET['new'] != 1) { + if( !(isset($_GET['new']) && $_GET['new']) ) { $this->DetectChanges($name[$i], $value[$value]); } $this->Data[$name[$i]] = $value[$i]; @@ -175,7 +175,7 @@ $var = "m_" . $name; if( !$this->HasField($name) || $this->Data[$name] != $value ) { - if ($_GET['new'] != 1) { + if( !(isset($_GET['new']) && $_GET['new']) ) { $this->DetectChanges($name, $value); } $this->Data[$name] = $value;