code glitch doesn't handle mysql prefix when deleting action
Brought to you by:
pinehead
line 35 of action.php reads:
$result = mysql_query("DELETE FROM action WHERE id='$_GET[id]'") or do_error('action.php::del action','mysql_query',mysql_error());
to properly handle cases where a mysql prefix is being used the line should read:
$result = mysql_query("DELETE FROM $GLOBALS[mysql_prefix]action WHERE id='$_GET[id]'") or do_error('action.php::del action','mysql_query',mysql_error());