Revision: 1098
http://mrbs.svn.sourceforge.net/mrbs/?rev=1098&view=rev
Author: cimorrison
Date: 2009-04-22 15:22:32 +0000 (Wed, 22 Apr 2009)
Log Message:
-----------
Removed <p> tags from the fatal error message strings as these are now provided
by the fatal_error() function itself.
Modified Paths:
--------------
mrbs/trunk/web/add.php
Modified: mrbs/trunk/web/add.php
===================================================================
--- mrbs/trunk/web/add.php 2009-04-22 14:57:53 UTC (rev 1097)
+++ mrbs/trunk/web/add.php 2009-04-22 15:22:32 UTC (rev 1098)
@@ -36,7 +36,7 @@
$sql = "insert into $tbl_area (area_name) values ('$area_name_q')";
if (sql_command($sql) < 0)
{
- fatal_error(1, "<p>" . sql_error() . "</p>");
+ fatal_error(1, sql_error());
}
$area = sql_insert_id("$tbl_area", "id");
}
@@ -53,7 +53,7 @@
values ('$room_name_q',$area, '$description_q',$capacity)";
if (sql_command($sql) < 0)
{
- fatal_error(1, "<p>" . sql_error() . "</p>");
+ fatal_error(1, sql_error());
}
}
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
------------------------------------------------------------------------------
Stay on top of everything new and different, both inside and
around Java (TM) technology - register by April 22, and save
$200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco.
300 plus technical and hands-on sessions. Register today.
Use priority code J9JMT32. http://p.sf.net/sfu/p
_______________________________________________
Mrbs-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mrbs-commits