Page Menu
Home
In-Portal Phabricator
Search
Configure Global Search
Log In
Files
F1170587
D207.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
Sat, Sep 27, 4:32 PM
Size
963 B
Mime Type
text/x-diff
Expires
Sun, Sep 28, 4:32 PM (22 h, 18 m)
Engine
blob
Format
Raw Data
Handle
758499
Attached To
D207: INP-1543 - Return detected theme/language ID immediately from "getPassedID" method
D207.diff
View Options
Index: branches/5.2.x/core/units/languages/languages_event_handler.php
===================================================================
--- branches/5.2.x/core/units/languages/languages_event_handler.php
+++ branches/5.2.x/core/units/languages/languages_event_handler.php
@@ -96,6 +96,8 @@
$this->Application->SetVar('m_lang', $language_id);
$this->Application->SetVar($event->getPrefixSpecial() . '_id', $language_id);
+
+ return $language_id;
}
return parent::getPassedID($event);
Index: branches/5.2.x/core/units/themes/themes_eh.php
===================================================================
--- branches/5.2.x/core/units/themes/themes_eh.php
+++ branches/5.2.x/core/units/themes/themes_eh.php
@@ -87,6 +87,8 @@
$this->Application->SetVar('m_theme', $theme_id);
$this->Application->SetVar($event->getPrefixSpecial() . '_id', $theme_id);
+
+ return $theme_id;
}
return parent::getPassedID($event);
Event Timeline
Log In to Comment