Changeset:
b0d01bc931b6
https://sourceforge.net/p/mrbs/hg-code/ci/b0d01bc931b66215497bd9691cb747d88247b2d0
Author:
Campbell Morrison <[email protected]>
Date:
Wed Sep 14 13:12:09 2016 +0100
Log message:
Fixed bug with making bookings
diffstat:
web/mrbs_sql.inc | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diffs (12 lines):
diff -r e9c590eaf391 -r b0d01bc931b6 web/mrbs_sql.inc
--- a/web/mrbs_sql.inc Wed Sep 14 13:07:38 2016 +0100
+++ b/web/mrbs_sql.inc Wed Sep 14 13:12:09 2016 +0100
@@ -721,7 +721,7 @@
} // if
} // foreach
- $sql_col = array_map('sql_quote', $sql_col);
+ $sql_col = array_map(__NAMESPACE__ . "\\sql_quote", $sql_col);
$sql = "INSERT INTO $table (" . implode(', ', $sql_col) . ") VALUES (" .
implode(', ',$sql_val) . ")";
if (sql_command($sql) < 0)
------------------------------------------------------------------------------
_______________________________________________
Mrbs-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mrbs-commits