Rewrote 'we' word a little, rewrote mail order to use SQL_INSERTID() instead of anoth...
[mailer.git] / inc / libs / mediadata_functions.php
index 7139fbdf778f7e97fa87b6efeefd7cbfb2e7ba0f..8f9d2203050a2109cfb2f3af8e430b646f4f3fef 100644 (file)
@@ -46,7 +46,7 @@ function updateMediadataEntry ($keys_array, $mode, $value) {
        // Default is nothing added/updated
        $added = false;
 
-       // Do we have entries?
+       // Are there entries?
        if (is_array($keys_array) && ($value > 0)) {
                // Is an array so we can run it through
                foreach ($keys_array as $key) {
@@ -107,7 +107,7 @@ function getMediadataEntry ($key) {
        $result = SQL_QUERY_ESC("SELECT `media_value` FROM `{?_MYSQL_PREFIX?}_mediadata` WHERE `media_key`='%s' LIMIT 1",
                array($key), __FUNCTION__, __LINE__);
 
-       // Do we have one?
+       // Is there one?
        if (SQL_NUMROWS($result) == 1) {
                // Load data
                list($value) = SQL_FETCHROW($result);