diff options
| author | Nathan Kinkade <nath@nkinka.de> | 2014-07-12 15:59:03 +0000 |
|---|---|---|
| committer | Nathan Kinkade <nath@nkinka.de> | 2014-07-12 15:59:03 +0000 |
| commit | a0bb2bc32ae82a3d02d70fe099bea05a625a2726 (patch) | |
| tree | d5ff46a4a665a2b55d5c25755ea70a30e498eff4 | |
| parent | f49fe0389c2f9d65fd66a59a66bd9afde6d779c9 (diff) | |
| -rw-r--r-- | helpers/randimg.php | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/helpers/randimg.php b/helpers/randimg.php index ba15f66..9669c2f 100644 --- a/helpers/randimg.php +++ b/helpers/randimg.php @@ -37,12 +37,14 @@ class randimg_Core { if ( $album_id ) { $item = item::random_query() ->where("type", "!=", "album") + ->where("type", "!=", "movie") ->where("parent_id", "=", $album_id) ->find_all(1) ->current(); } else { $item = item::random_query() ->where("type", "!=", "album") + ->where("type", "!=", "movie") ->find_all(1) ->current(); } |
