Heacy rewrite/cleanup:
[mailer.git] / inc / libs / mediadata_functions.php
index d72a0297b164e8033ca0b33810971fc994e6433a..b169e35efdcfa2639307731b8439f4e5cb456150 100644 (file)
@@ -47,7 +47,7 @@ function updateMediadataEntry ($keys_array, $mode, $value) {
        $added = FALSE;
 
        // Are there entries?
-       if (is_array($keys_array) && ($value > 0)) {
+       if (isFilledArray($keys_array) && ($value > 0)) {
                // Is an array so we can run it through
                foreach ($keys_array as $key) {
                        // First check if it does exist