Index: trunk/ippTools/src/magictool.c
===================================================================
--- trunk/ippTools/src/magictool.c	(revision 18692)
+++ trunk/ippTools/src/magictool.c	(revision 18697)
@@ -271,5 +271,5 @@
         psFree(idString);
 
-        if (!p_psDBRunQuery(config->dbh, thisInsert, magic_id)) {
+        if (!p_psDBRunQuery(config->dbh, thisInsert, magic_id, exp_id)) {
             psError(PS_ERR_UNKNOWN, false, "database error");
             psFree(thisInsert);
