diff options
Diffstat (limited to 'yourmostviewed.php')
-rw-r--r-- | yourmostviewed.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/yourmostviewed.php b/yourmostviewed.php index 40d05c038..f9a1af88a 100644 --- a/yourmostviewed.php +++ b/yourmostviewed.php @@ -20,7 +20,7 @@ INNER JOIN " . $prefix . "metastrings ms ON md.value_id = ms.id INNER JOIN " . $prefix . "metastrings ms2 ON md.name_id = ms2.id AND ms2.string = 'tp_views' WHERE ent.owner_guid = " . $viewer->guid . " - ORDER BY views DESC LIMIT $max"; + ORDER BY (views+0) DESC LIMIT $max"; $result = get_data($sql); |