Page MenuHomeDevCentral

D3611.id9336.diff
No OneTemporary

D3611.id9336.diff

diff --git a/lists/RegexpFactory.php b/lists/RegexpFactory.php
--- a/lists/RegexpFactory.php
+++ b/lists/RegexpFactory.php
@@ -58,7 +58,7 @@
*/
public function isValid () {
$this->lastError = '';
- set_error_handler('self::handleErrors');
+ set_error_handler([$this, "handleErrors"]);
$result = preg_match($this->expression, "");
restore_error_handler();
if ($this->lastError === '' && $result === false) {

File Metadata

Mime Type
text/plain
Expires
Thu, Dec 19, 09:52 (16 h, 8 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2306313
Default Alt Text
D3611.id9336.diff (469 B)

Event Timeline