Page Menu
Home
In-Portal Phabricator
Search
Configure Global Search
Log In
Files
F1098713
D147.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
Thu, Aug 14, 4:48 AM
Size
606 B
Mime Type
text/x-diff
Expires
Fri, Aug 15, 4:48 AM (6 h, 52 m)
Engine
blob
Format
Raw Data
Handle
711422
Attached To
D147: INP-1495 - Use "array_replace_recursive" inside kSystemConfig class
D147.diff
View Options
Index: branches/5.3.x/core/kernel/utility/system_config.php
===================================================================
--- branches/5.3.x/core/kernel/utility/system_config.php
+++ branches/5.3.x/core/kernel/utility/system_config.php
@@ -149,7 +149,7 @@
public function getData()
{
if ( !$this->data ) {
- $this->data = array_merge($this->getDefaults(), $this->parse());
+ $this->data = array_replace_recursive($this->getDefaults(), $this->parse());
}
return $this->data;
@@ -280,4 +280,4 @@
class kSystemConfigException extends Exception
{
-}
\ No newline at end of file
+}
Event Timeline
Log In to Comment