]> git.mxchange.org Git - friendica.git/commitdiff
Introduced is_filled_array() + added some missing array initialization
authorRoland Haeder <roland@mxchange.org>
Tue, 1 Mar 2016 13:33:54 +0000 (14:33 +0100)
committerRoland Haeder <roland@mxchange.org>
Sun, 1 May 2016 11:50:43 +0000 (13:50 +0200)
Signed-off-by: Roland Haeder <roland@mxchange.org>
boot.php

index 108d8d0ede9cdcc6e356e04f72f244867016baf5..57d1c77684d69b00a8ed1e9910466d327d02e547 100644 (file)
--- a/boot.php
+++ b/boot.php
@@ -2202,3 +2202,7 @@ function argv($x) {
 
        return '';
 }
+
+function is_filled_array ($array) {
+       return (is_array($array) && count($array) > 0);
+}