Page Menu
Home
DevCentral
Search
Configure Global Search
Log In
Files
F54960299
D3611.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
469 B
Referenced Files
None
Subscribers
None
D3611.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
Mon, Oct 26, 06:25 (23 h, 5 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
4219746
Default Alt Text
D3611.diff (469 B)
Attached To
Mode
D3611: Avoid "self" in callable
Attached
Detach File
Event Timeline
Log In to Comment