Tell Froxlor there exists a task-type 10, refs #814

Signed-off-by: Florian Aders (EleRas) <eleras@froxlor.org>
This commit is contained in:
Florian Aders (EleRas)
2011-06-18 20:01:51 +02:00
parent 8bfdd0bc14
commit 8599ff775b

View File

@@ -35,7 +35,8 @@ function inserttask($type, $param1 = '', $param2 = '', $param3 = '', $param4 = '
|| $type == '3'
|| $type == '4'
|| $type == '5'
|| $type == '9')
|| $type == '9'
|| $type == '10')
{
$db->query('DELETE FROM `' . TABLE_PANEL_TASKS . '` WHERE `type`="' . $type . '"');
$db->query('INSERT INTO `' . TABLE_PANEL_TASKS . '` (`type`) VALUES ("' . $type . '")');