From: Geoffrey T. D. <da...@us...> - 2001-09-21 14:41:35
|
Update of /cvsroot/phpwiki/phpwiki/lib/WikiDB/backend In directory usw-pr-cvs1:/tmp/cvs-serv29527/lib/WikiDB/backend Modified Files: PearDB.php Log Message: Fix the fix: fun with regexps. (minor). Index: PearDB.php =================================================================== RCS file: /cvsroot/phpwiki/phpwiki/lib/WikiDB/backend/PearDB.php,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -r1.5 -r1.6 *** PearDB.php 2001/09/20 19:09:26 1.5 --- PearDB.php 2001/09/21 14:41:33 1.6 *************** *** 691,695 **** function _pear_notice_filter($err) { return ( $err->isNotice() ! && preg_match('|DB[/\\]common.php$|', $err->errfile) && $err->errline == 126 && preg_match('/Undefined offset: +0\b/', $err->errstr) ); --- 691,695 ---- function _pear_notice_filter($err) { return ( $err->isNotice() ! && preg_match('|DB[/\\\\]common.php$|', $err->errfile) && $err->errline == 126 && preg_match('/Undefined offset: +0\b/', $err->errstr) ); |