Page Menu
Home
In-Portal Phabricator
Search
Configure Global Search
Log In
Files
F1171604
D147.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
Sun, Sep 28, 7:47 AM
Size
606 B
Mime Type
text/x-diff
Expires
Mon, Sep 29, 7:47 AM (15 h, 46 m)
Engine
blob
Format
Raw Data
Handle
759177
Attached To
D147: INP-1495 - Use "array_replace_recursive" inside kSystemConfig class
D147.id.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