From: Bharat M. <bh...@us...> - 2001-07-19 08:51:04
|
Update of /cvsroot/gallery/gallery In directory usw-pr-cvs1:/tmp/cvs-serv25875 Modified Files: util.php Log Message: Fix for bug #442333. I broke this when I did the Nuke integration. Index: util.php =================================================================== RCS file: /cvsroot/gallery/gallery/util.php,v retrieving revision 1.62 retrieving revision 1.63 diff -u -r1.62 -r1.63 --- util.php 2001/07/18 20:21:34 1.62 +++ util.php 2001/07/19 08:51:00 1.63 @@ -571,11 +571,15 @@ if ($photoId) { $url .= "/$photoId"; } + } else { + $url .= "/albums.php"; } } else { if ($albumName) { $url = $gallery->app->photoAlbumURL . "/view_album.php"; array_push($args, "set_albumName=$albumName"); + } else { + $url .= "/albums.php"; } if ($photoId) { @@ -587,10 +591,11 @@ if ($extra) { array_push($args, $extra); } - + if (count($args)) { $url .= "?" . join("&", $args); - } + } + } return $url; |