projects
/
fa-stable.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fixed an array_combine object issue.
[fa-stable.git]
/
includes
/
main.inc
diff --git
a/includes/main.inc
b/includes/main.inc
index 322a51bb8ee442e14eb77aa628534afe0cfd0e7e..df31aa17a52a4e84d4ea6a0e968fdbc7ebe56d30 100644
(file)
--- a/
includes/main.inc
+++ b/
includes/main.inc
@@
-418,7
+418,7
@@
if (!function_exists('array_fill_keys')) // since 5.2
{
function array_fill_keys($keys, $value)
{
- return array_combine($keys, array_fill(count($keys), $value));
+ return
(object)
array_combine($keys, array_fill(count($keys), $value));
}
}