projects
/
core.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Use array_push() instead of []
[core.git]
/
inc
/
classes
/
main
/
registry
/
class_BaseRegistry.php
diff --git
a/inc/classes/main/registry/class_BaseRegistry.php
b/inc/classes/main/registry/class_BaseRegistry.php
index 4fd9aaf6dd5b022b2d3f1d80a0aa477b0617bacd..fc0b4c19d10360d62cca96ecadc6984a91b823c8 100644
(file)
--- a/
inc/classes/main/registry/class_BaseRegistry.php
+++ b/
inc/classes/main/registry/class_BaseRegistry.php
@@
-97,7
+97,7
@@
class BaseRegistry extends BaseFrameworkSystem implements Registerable {
*/
public final function addEntry ($key, $value) {
// Simply add it
-
$this->rawEntries[$key][] = $value
;
+
array_push($this->rawEntries[$key], $value)
;
}
/**