diff options
| -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(); } |
