Reverted some obfuscated RegExes. Nijel, as you where working on that: I removed the bugfixes you threw in for my faulty code because there where some issue left (for me):
The lines $re0 = '@(^|(\\\\\\\\)+|[^\\\\])'; // non-escaped wildcards $re1 = '@(^|[^\])(\\\)+'; // escaped wildcards as they currently where made no sense to me, because the single [^\] should be replaced to [^\\\\] as well, doesn't it? To not seriously break more stuff I decided to revert to the previous mechanism here. I will do more serious tests the next days and will actually work with my PMA again and I pay close attention to see if there are any issues left. I also searched through the code to see if the setting of the array points from former while() constructs was in any way used [current(), next(), prev(), key(), end(), each()] but did find none.
This commit is contained in:
@@ -57,7 +57,6 @@ global $cfgRelation;
|
||||
$last_id = -1;
|
||||
|
||||
if ($cfgRelation[$work]) {
|
||||
@reset($get_fields);
|
||||
$select_parts = array();
|
||||
$row_fields = array();
|
||||
foreach($get_fields AS $nr => $get_field) {
|
||||
|
Reference in New Issue
Block a user