summaryrefslogtreecommitdiffstats
path: root/lib/class/browse.class.php
diff options
context:
space:
mode:
authorKarl 'vollmerk' Vollmer <vollmer@ampache.org>2008-08-19 04:31:52 +0000
committerKarl 'vollmerk' Vollmer <vollmer@ampache.org>2008-08-19 04:31:52 +0000
commita6a8c08e3721962fd2dc5cfdc6efc1803e844a2b (patch)
tree0a2b14b3029bb3e5bef45af452d10127c0337127 /lib/class/browse.class.php
parent619368f183a2c652f8ac40a83d847c608187e53d (diff)
downloadampache-a6a8c08e3721962fd2dc5cfdc6efc1803e844a2b.tar.gz
ampache-a6a8c08e3721962fd2dc5cfdc6efc1803e844a2b.tar.bz2
ampache-a6a8c08e3721962fd2dc5cfdc6efc1803e844a2b.zip
fixed the search a bit, made some random changes to charset and fixed some echo printf() references
Diffstat (limited to 'lib/class/browse.class.php')
-rw-r--r--lib/class/browse.class.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/class/browse.class.php b/lib/class/browse.class.php
index 77d1a81f..68b6bad3 100644
--- a/lib/class/browse.class.php
+++ b/lib/class/browse.class.php
@@ -176,7 +176,7 @@ class Browse {
public static function get_total($objects=false) {
// If they pass something then just return that
- if (is_array($objects)) {
+ if (is_array($objects) and !self::is_simple_browse()) {
return count($objects);
}