--- snmp_collect.php.orig Tue Feb 18 10:30:10 2003 +++ snmp_collect.php Tue Feb 18 10:29:44 2003 @@ -41,7 +41,7 @@ if (mysql_error($persistent_connection) != "") { echo "SQL Query Failure!\n" . mysql_error($persistent_connection) . ":
\n$sq
\n"; - if (preg_match('/^insert\s+/', $sq) { + if (preg_match('/^insert\s+/', $sq)) { // If you add any "replace" or "delete" SQL queries here, update that line above! save_cachefile(); }