projects
/
fa-stable.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fixed php 7.2 count() compatibility and intval cast in number_format2 parameter 2.
[fa-stable.git]
/
admin
/
db
/
maintenance_db.inc
diff --git
a/admin/db/maintenance_db.inc
b/admin/db/maintenance_db.inc
index ab7334f0258a387d721a93bfe4ba729c3725b2f6..af6f577707aea8ebc5fce81357e9fe8bc75a1b70 100644
(file)
--- a/
admin/db/maintenance_db.inc
+++ b/
admin/db/maintenance_db.inc
@@
-183,7
+183,7
@@
function update_extensions($extensions) {
}
// update per company files
- $cnt = max(1, count($db_connections));
+ $cnt = max(1, count
_array
($db_connections));
for($i = 0; $i < $cnt; $i++)
{
$newexts = $extensions;