Page Menu
Home
DevCentral
Search
Configure Global Search
Log In
Files
F3907515
D3611.id9337.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
469 B
Referenced Files
None
Subscribers
None
D3611.id9337.diff
View Options
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
Details
Attached
Mime Type
text/plain
Expires
Thu, Dec 19, 09:52 (15 h, 33 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2306313
Default Alt Text
D3611.id9337.diff (469 B)
Attached To
Mode
D3611: Avoid "self" in callable
Attached
Detach File
Event Timeline
Log In to Comment