diff options
author | Karl 'vollmerk' Vollmer <vollmer@ampache.org> | 2007-08-06 05:53:26 +0000 |
---|---|---|
committer | Karl 'vollmerk' Vollmer <vollmer@ampache.org> | 2007-08-06 05:53:26 +0000 |
commit | f0addeb4a1700b6ad625726fe8c0793cdafa9fed (patch) | |
tree | ed2e4fef6759867bed8229116ae2e91b3b3da239 /lib/class/browse.class.php | |
parent | 69b204fb1dcca77c177d3ac5ec7fb686fb5a5b58 (diff) | |
download | ampache-f0addeb4a1700b6ad625726fe8c0793cdafa9fed.tar.gz ampache-f0addeb4a1700b6ad625726fe8c0793cdafa9fed.tar.bz2 ampache-f0addeb4a1700b6ad625726fe8c0793cdafa9fed.zip |
added ability to view album art on browse ablums and removed redundent code in show_artist, props to the first person who finds the bug with this re-use of code
Diffstat (limited to 'lib/class/browse.class.php')
-rw-r--r-- | lib/class/browse.class.php | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/lib/class/browse.class.php b/lib/class/browse.class.php index 7be9db02..a8fa538c 100644 --- a/lib/class/browse.class.php +++ b/lib/class/browse.class.php @@ -79,6 +79,18 @@ class Browse { } // set_filter /** + * get_filter + * returns the specified filter value + */ + public static function get_filter($key) { + + // Simple enough, but if we ever move this crap + return $_SESSION['browse']['filter'][$key]; + + } // get_filter + + + /** * set_type * This sets the type of object that we want to browse by * we do this here so we only have to maintain a single whitelist |