Changeset:
717100a34911
https://sourceforge.net/p/mrbs/hg-code/ci/717100a34911ac0cd54375a32b0b9f0c49202d16
Author:
John Beranek <[email protected]>
Date:
Sun Sep 25 00:24:11 2016 +0100
Log message:
Fixed mysql version of syntax_caseless_contains()
diffstat:
web/lib/MRBS/DB_mysql.php | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diffs (12 lines):
diff -r 44ff81dc6463 -r 717100a34911 web/lib/MRBS/DB_mysql.php
--- a/web/lib/MRBS/DB_mysql.php Sun Sep 25 00:22:28 2016 +0100
+++ b/web/lib/MRBS/DB_mysql.php Sun Sep 25 00:24:11 2016 +0100
@@ -259,7 +259,7 @@
//
// In MySQL, REGEXP seems to be case sensitive, so use LIKE instead. But this
// requires quoting of % and _ in addition to the usual.
- public function caseless_contains($fieldname, $string, &$params)
+ public function syntax_caseless_contains($fieldname, $string, &$params)
{
$string = str_replace("\\", "\\\\", $string);
$string = str_replace("%", "\\%", $string);
------------------------------------------------------------------------------
_______________________________________________
Mrbs-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mrbs-commits