summaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authorspiderr <spider@viovio.com>2013-05-14 21:52:35 -0400
committerspiderr <spider@viovio.com>2013-05-14 21:52:35 -0400
commit59fc3ebea3380686ea6631cc5583445ebd620093 (patch)
tree6dac3dcc26d708a904d6462941dbd07986976820 /templates
parentf4e71f2bc34acab2e67f0e8f8d636e86950924cc (diff)
downloadfisheye-59fc3ebea3380686ea6631cc5583445ebd620093.tar.gz
fisheye-59fc3ebea3380686ea6631cc5583445ebd620093.tar.bz2
fisheye-59fc3ebea3380686ea6631cc5583445ebd620093.zip
fix comparision check typo; empty check on moduleParams
Diffstat (limited to 'templates')
-rw-r--r--templates/center_list_galleries.php5
1 files changed, 4 insertions, 1 deletions
diff --git a/templates/center_list_galleries.php b/templates/center_list_galleries.php
index 63cd077..b5a961e 100644
--- a/templates/center_list_galleries.php
+++ b/templates/center_list_galleries.php
@@ -1,6 +1,9 @@
<?php
global $gQueryUser;
-extract( $moduleParams );
+if( !empty( $moduleParams ) ) {
+ extract( $moduleParams );
+}
+
$gFisheyeGallery = new FisheyeGallery();
/* Get a list of galleries which matches the imput paramters (default is to list every gallery in the system) */