Page Menu
Home
In-Portal Phabricator
Search
Configure Global Search
Log In
Files
F804018
D147.id362.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
Wed, Feb 26, 9:03 AM
Size
561 B
Mime Type
text/x-diff
Expires
Thu, Feb 27, 9:03 AM (1 h, 13 m)
Engine
blob
Format
Raw Data
Handle
576734
Attached To
D147: INP-1495 - Use "array_replace_recursive" inside kSystemConfig class
D147.id362.diff
View Options
Index: core/kernel/utility/system_config.php
===================================================================
--- core/kernel/utility/system_config.php
+++ 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