Page Menu
Home
In-Portal Phabricator
Search
Configure Global Search
Log In
Files
F1025948
D63.id.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Subscribers
None
File Metadata
Details
File Info
Storage
Attached
Created
Fri, Jun 13, 5:24 PM
Size
505 B
Mime Type
text/x-diff
Expires
Sat, Jun 14, 5:24 PM (3 h, 52 m)
Engine
blob
Format
Raw Data
Handle
661404
Attached To
D63: INP-1425 Don't report empty forms as missing
D63.id.diff
View Options
Index: branches/5.3.x/core/kernel/kbase.php
===================================================================
--- branches/5.3.x/core/kernel/kbase.php
+++ branches/5.3.x/core/kernel/kbase.php
@@ -529,7 +529,7 @@
$form_data = $config->getFormByName($this->formName);
- if ( !$form_data ) {
+ if ( $form_data === false ) {
trigger_error('Form "<strong>' . $this->formName . '</strong>" isn\'t declared in "<strong>' . $this->Prefix . '</strong>" unit config.', E_USER_NOTICE);
}
else {
Event Timeline
Log In to Comment