]> git.mxchange.org Git - mailer.git/blobdiff - inc/libs/mediadata_functions.php
Don't abuse isValidSqlLink() for checking results
[mailer.git] / inc / libs / mediadata_functions.php
index d72a0297b164e8033ca0b33810971fc994e6433a..18bd21e7fbf6e92ba51377c9309c6dba518602fd 100644 (file)
@@ -16,7 +16,7 @@
  * $Author::                                                          $ *
  * -------------------------------------------------------------------- *
  * Copyright (c) 2003 - 2009 by Roland Haeder                           *
- * Copyright (c) 2009 - 2013 by Mailer Developer Team                   *
+ * Copyright (c) 2009 - 2016 by Mailer Developer Team                   *
  * For more information visit: http://mxchange.org                      *
  *                                                                      *
  * This program is free software; you can redistribute it and/or modify *
@@ -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