Changeset 1737

Show
Ignore:
Timestamp:
09/02/08 17:09:23 (3 months ago)
Author:
momo-i
Message:

Fixed misstaken, and r1736 comment: Fixed if empty ids, don't run sql query

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/templates/show_random_albums.inc.php

    r1736 r1737  
    2525 
    2626        <?php  
    27         if ($album_id) { 
     27        if ($albums) { 
    2828                foreach ($albums as $album_id) {  
    2929                        $album = new Album($album_id);  
     
    5050        
    5151                <?php } // end foreach ?> 
    52         <?php } // end if album_id ?> 
     52        <?php } // end if albums ?> 
    5353 
    5454<?php show_box_bottom(); ?>