2007-05-27 Raul Mateos <raulofpandora@gmail.com>
* configurar_agente.php: Removed echo for debbuging added in last commit. git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@476 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
parent
4943f5617d
commit
07410e7635
|
@ -244,11 +244,11 @@ if (isset($_POST["insert_alert"])){ // if created alert
|
||||||
'$alert_text')";
|
'$alert_text')";
|
||||||
$result=mysql_query($sql_insert);
|
$result=mysql_query($sql_insert);
|
||||||
if (! $result) {
|
if (! $result) {
|
||||||
echo $sql_insert;
|
|
||||||
echo "<h3 class='error'>".$lang_label["create_alert_no"]."</h3>";
|
echo "<h3 class='error'>".$lang_label["create_alert_no"]."</h3>";
|
||||||
} else
|
} else {
|
||||||
$id_agente = mysql_insert_id();
|
$id_agente = mysql_insert_id();
|
||||||
echo "<h3 class='suc'>".$lang_label["create_alert_ok"]."</h3>";
|
echo "<h3 class='suc'>".$lang_label["create_alert_ok"]."</h3>";
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
// Update ALERT
|
// Update ALERT
|
||||||
|
|
Loading…
Reference in New Issue