Skip to content

Commit 62cf962

Browse files
committed
Fix php 8.1 deprecation issues caused by preg_replace error
- Update message
1 parent 3071cd8 commit 62cf962

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

library/Zend/Db/Statement.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -199,8 +199,8 @@ protected function _stripQuoted($sql)
199199
}
200200

201201
if ($sql === null) {
202-
// this preg_replace may return NULL in case of error (PREG_BACKTRACK_LIMIT_ERROR).
203-
// In that case the result of this method will be an empty string.
202+
// this preg_replace call can return NULL in case of error (PREG_BACKTRACK_LIMIT_ERROR).
203+
// In this case the result of this method will be an empty string.
204204
return '';
205205
}
206206

0 commit comments

Comments
 (0)