Revision: 1560
          http://mrbs.svn.sourceforge.net/mrbs/?rev=1560&view=rev
Author:   jberanek
Date:     2010-10-31 08:16:58 +0000 (Sun, 31 Oct 2010)

Log Message:
-----------
* Fixed confirmation of bookings for people using the Postgresql
 backend. Postgresql doesn't accept LIMIT in UPDATE statements.

Modified Paths:
--------------
    mrbs/trunk/web/mrbs_sql.inc

Modified: mrbs/trunk/web/mrbs_sql.inc
===================================================================
--- mrbs/trunk/web/mrbs_sql.inc 2010-10-31 08:14:33 UTC (rev 1559)
+++ mrbs/trunk/web/mrbs_sql.inc 2010-10-31 08:16:58 UTC (rev 1560)
@@ -792,7 +792,7 @@
   }
   else
   {
-    $sql .= " AND id=$id LIMIT 1";
+    $sql .= " AND id=$id";
   }
   return (sql_command($sql) >= 0);
 }


This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.

------------------------------------------------------------------------------
Nokia and AT&T present the 2010 Calling All Innovators-North America contest
Create new apps & games for the Nokia N8 for consumers in  U.S. and Canada
$10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store 
http://p.sf.net/sfu/nokia-dev2dev
_______________________________________________
Mrbs-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mrbs-commits

Reply via email to