Project

General

Profile

Bug #21868 » pibasi_deprecated_spliti.patch

Administrator Admin, 2009-12-18 16:56

View differences:

class.tslib_pibase.php (working copy)
}
// Split the "FROM ... WHERE" string so we get the WHERE part and TABLE names separated...:
list($TABLENAMES,$WHERE) = spliti('WHERE', trim($query), 2);
list($TABLENAMES,$WHERE) = preg_split('/WHERE/i', trim($query), 2);
$TABLENAMES = trim(substr(trim($TABLENAMES),5));
$WHERE = trim($WHERE);
(1-1/2)