Even more rewrites/fixes from EL branch (please report any broken part after you...
[mailer.git] / inc / modules / admin / what-surfbar_stats.php
index 54ff5df476f48c92f282f3778132f8dd43861973..62a5ca2c7351ab76fccdcf423746a8feaef1da99 100644 (file)
@@ -109,10 +109,10 @@ ORDER BY
        // Entries found?
        if (SQL_NUMROWS($result) > 0) {
                // Get all rows
-               $OUT = ''; $SW = 2; $urls = '0'; $visits = '0';
+               $OUT = ''; $SW = 2; $urlArray = '0'; $visits = '0';
                while ($content = SQL_FETCHARRAY($result)) {
                        // Count totals
-                       $urls   += $content['visited_urls'];
+                       $urlArray   += $content['visited_urls'];
                        $visits += $content['total_visits'];
 
                        // "Translate" some data
@@ -130,7 +130,7 @@ ORDER BY
                // Prepare content
                $content = array(
                        'rows'   => $OUT,
-                       'urls'   => $urls,
+                       'urls'   => $urlArray,
                        'visits' => $visits
                );