mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-28 16:24:54 +02:00
2009-10-01 Miguel de Dios <miguel.dedios@artica.es>
* pandora_console/godmode/alerts/alert_list.php: fix small bug that throw notice message for a array uninitialize. git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1997 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
parent
13c0e6600c
commit
b426d2a0eb
@ -1,3 +1,8 @@
|
|||||||
|
2009-10-01 Miguel de Dios <miguel.dedios@artica.es>
|
||||||
|
|
||||||
|
* pandora_console/godmode/alerts/alert_list.php: fix small bug that throw
|
||||||
|
notice message for a array uninitialize.
|
||||||
|
|
||||||
2009-09-30 Sancho Lerena <slerena@artica.es>
|
2009-09-30 Sancho Lerena <slerena@artica.es>
|
||||||
|
|
||||||
* pandora_console.spec: Updated spec for a more complete uninstall.
|
* pandora_console.spec: Updated spec for a more complete uninstall.
|
||||||
|
@ -238,9 +238,11 @@ echo "<div id='alert_control' style='display:none'>\n";
|
|||||||
echo "<tr>\n";
|
echo "<tr>\n";
|
||||||
$temp = get_db_all_rows_sql("SELECT id, name FROM talert_actions;");
|
$temp = get_db_all_rows_sql("SELECT id, name FROM talert_actions;");
|
||||||
$arrayActions = array();
|
$arrayActions = array();
|
||||||
|
if (is_array($temp)) {
|
||||||
foreach ($temp as $actionElement) {
|
foreach ($temp as $actionElement) {
|
||||||
$arrayActions[$actionElement['id']] = $actionElement['name'];
|
$arrayActions[$actionElement['id']] = $actionElement['name'];
|
||||||
}
|
}
|
||||||
|
}
|
||||||
echo "<td>".__('Actions')."</td><td>";
|
echo "<td>".__('Actions')."</td><td>";
|
||||||
print_select ($arrayActions, "action_id", $actionID, '', __('All'),-1);
|
print_select ($arrayActions, "action_id", $actionID, '', __('All'),-1);
|
||||||
echo "</td>\n";
|
echo "</td>\n";
|
||||||
|
Loading…
x
Reference in New Issue
Block a user