From: <ema...@us...> - 2003-11-07 20:32:51
|
Update of /cvsroot/moregroupware/mgw/modules/settings/inc In directory sc8-pr-cvs1:/tmp/cvs-serv11737 Modified Files: settings_func.inc.php Log Message: adding complete inserts for mgw_config Index: settings_func.inc.php =================================================================== RCS file: /cvsroot/moregroupware/mgw/modules/settings/inc/settings_func.inc.php,v retrieving revision 1.22 retrieving revision 1.23 diff -C2 -d -r1.22 -r1.23 *** settings_func.inc.php 2 Nov 2003 13:46:49 -0000 1.22 --- settings_func.inc.php 7 Nov 2003 20:32:47 -0000 1.23 *************** *** 26,30 **** if ($default) { ! $sql = "INSERT INTO mgw_config VALUES (0,".$conn->QMagic($key).",1,'',0,'',1,'2002-01-01')"; if(!$res = $conn->Execute($sql)) exit(showSQLerror($sql, $conn->ErrorMsg(), __LINE__, __FILE__)); $sql = "INSERT INTO mgw_configtags VALUES (".$conn->QMagic($key).",".$conn->QMagic($module).",'',0,0,".$conn->QMagic($val_type).",1,'2002-01-01')"; --- 26,30 ---- if ($default) { ! $sql = "INSERT INTO mgw_config (userid,configtagname,serialnr,value_str,value_int,value_txt,lu_user,lu_date) VALUES (0,".$conn->QMagic($key).",1,'',0,'',1,'2002-01-01')"; if(!$res = $conn->Execute($sql)) exit(showSQLerror($sql, $conn->ErrorMsg(), __LINE__, __FILE__)); $sql = "INSERT INTO mgw_configtags VALUES (".$conn->QMagic($key).",".$conn->QMagic($module).",'',0,0,".$conn->QMagic($val_type).",1,'2002-01-01')"; |