Bug found in phpticket-0.71
Brought to you by:
kirigoe,
sinner_prairy
Bug in action.php :
prefix for the database tables was not used when deleting
an action for a ticket. Therefore a SQL error raised
(table action not found... the table was named
prefixaction)
diff file for correcting the typo :
---------------------------------
35c35
< $result = mysql_query("DELETE
FROM action WHERE id='$_GET[id]'") or
do_error('action.php::del
action','mysql_query',mysql_error());
---
> $result = mysql_query("DELETE
FROM $GLOBALS[mysql_prefix]action WHERE
id='$_GET[id]'") or do_error('action.php::del
action','mysql_query',mysql_error());
---------------------------------
Regards,
Alexandre Norman
alexandre dot norman at mnh dot fr