Changes of Revision 34
[-] [+] | Changed | _service:set_version:inventory-system.spec |
[-] [+] | Changed | _service:recompress:tar_scm:inventory-system-0.0.rev1504.tar.bz2/server/isdf.php ^ |
@@ -102,7 +102,7 @@ $systemid = $dbh->lastInsertId('inv_system', 'id'); syslog(LOG_INFO, "MDB2: INSERT into inv_system successfull with id " . $systemid); - foreach ( $data as $key ) { + foreach ( $data as $key => $value ) { // check if systemid/key pair exists $sysidkeysql = "SELECT inv_system_id, datakey FROM inv_system_properties WHERE inv_system_id='$systemid' AND datakey='$key'"; $sysidkeyres = $dbh->query($sysidkeysql); |