Naming convention applied: is outdated, use (not shortended word), fixed missing...
[mailer.git] / inc / libs / yoomedia_functions.php
index 5c5d437460674a32b571a3276559a3ce886ddd8f..5ee18e176610bcff4d93a451de2ea71cee5594f2 100644 (file)
@@ -189,19 +189,19 @@ function YOOMEDIA_PARSE_RESPONSE ($response, $type) {
        $dataArray = explode('|', $responseLine);
 
        // Now make the result array with two dimensions
-       $cnt = '0'; $entry = '0';
+       $count = '0'; $entry = '0';
        foreach ($dataArray as $line) {
                // Add the line
-               $result[$entry][yoomediaTranslateIndex($type, $cnt)] = $line;
+               $result[$entry][yoomediaTranslateIndex($type, $count)] = $line;
 
                // End of data of first entry reached?
-               if ($cnt == 6) {
+               if ($count == 6) {
                        // Then advance to next entry and reset counter
                        $entry++;
-                       $cnt = '0';
+                       $count = '0';
                } else {
                        // Count up
-                       $cnt++;
+                       $count++;
                }
        } // END - foreach