Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

undefined offset 0 MysqliDb.php line 559 #937

Open
wants to merge 30 commits into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
Show all changes
30 commits
Select commit Hold shift + click to select a range
1fb2d70
fixed limit variable ordering in the comments
avbdr Aug 2, 2017
04b2a29
Expand readme on autoreconnect and multipe connections usage
avbdr Aug 2, 2017
0685cb0
update release numbers
avbdr Aug 3, 2017
2959ecb
update copyright years
avbdr Aug 3, 2017
ff8f36b
Merge branch 'master' of https://github.com/joshcam/PHP-MySQLi-Databa…
avbdr Aug 8, 2017
2481e94
Bug #623: Mistake in Regexp
avbdr Aug 8, 2017
8d4dcb1
Fix for #554 Fixing Join usage with 'USING' instead of 'ON'
avbdr Aug 8, 2017
4d4971e
Fix empty exception message
avbdr Aug 9, 2017
64d335c
fix a typo
avbdr Aug 9, 2017
f497d49
Merge branch 'master' of https://github.com/avbdr/PHP-MySQLi-Database…
avbdr Aug 10, 2017
fd67835
Merge branch 'master' of https://github.com/joshcam/PHP-MySQLi-Databa…
avbdr Sep 15, 2017
ca246f1
Added LIKE case description into readme
avbdr Sep 15, 2017
51cc4d4
do not reset connection name when transtation is on
avbdr Nov 29, 2017
7c0c177
2.9 release
avbdr Nov 29, 2017
2d1d020
Merge branch 'master' of https://github.com/joshcam/PHP-MySQLi-Databa…
avbdr Nov 29, 2017
eab49fe
v2.9.1 bugfix release declate missing variable
avbdr Nov 30, 2017
53cc9f7
update composer.json
avbdr Feb 8, 2018
d467a2c
Merge branch 'master' of https://github.com/joshcam/PHP-MySQLi-Databa…
avbdr Feb 8, 2018
b40fd92
tag 2.9.2
avbdr Feb 8, 2018
995d0fe
back to development
avbdr Feb 8, 2018
043f3f2
remove legacy >where("firstname", Array ('LIKE' => '%John%')) support
avbdr Aug 24, 2019
031c143
Merge branch 'master' of https://github.com/joshcam/PHP-MySQLi-Databa…
avbdr Aug 24, 2019
5fd69fc
2.9.3 release
avbdr Aug 24, 2019
a0509f3
Revert "Now getInstance function will create new MysqliDb object if o…
avbdr Aug 24, 2019
4fcdbb4
undefined offset 0 MysqliDb.php line 559
gisforgirard Dec 7, 2020
059a474
Merge branch 'ThingEngineer:master' into master
avbdr Jan 9, 2022
463e591
Merge pull request #2 from ThingEngineer/master
gisforgirard Sep 16, 2022
f684c40
Merge pull request #1 from avbdr/master
gisforgirard Sep 16, 2022
3150cfe
Merge branch 'avbdr-fork' into patch-1
gisforgirard Sep 16, 2022
40b2466
Update MysqliDb.php
gisforgirard Sep 16, 2022
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
2 changes: 1 addition & 1 deletion MysqliDb.php
Expand Up @@ -553,7 +553,7 @@ private function queryUnprepared($query)
public function rawAddPrefix($query){
$query = str_replace(PHP_EOL, '', $query);
$query = preg_replace('/\s+/', ' ', $query);
preg_match_all("/(from|into|update|join|describe) [\\'\\´]?([a-zA-Z0-9_-]+)[\\'\\´]?/i", $query, $matches);
preg_match_all("/(from|into|update|join|describe) [\\'\\´\\`]?([a-zA-Z0-9_-]+)[\\'\\´\\`]?/i", $query, $matches);
list($from_table, $from, $table) = $matches;

return str_replace($table[0], self::$prefix.$table[0], $query);
Expand Down