summaryrefslogtreecommitdiff
path: root/FisheyeGallery.php
diff options
context:
space:
mode:
authorLester Caine <lester@lsces.co.uk>2007-06-08 21:53:05 +0000
committerLester Caine <lester@lsces.co.uk>2007-06-08 21:53:05 +0000
commitb56d0264b5bedb1508caef08812edd1f5dcfe04f (patch)
tree26ec9411729d0ff0e8fbb48d447d2262c76d7867 /FisheyeGallery.php
parentaeb780677fba368a3f81d966f959229da9e74aff (diff)
downloadfisheye-b56d0264b5bedb1508caef08812edd1f5dcfe04f.tar.gz
fisheye-b56d0264b5bedb1508caef08812edd1f5dcfe04f.tar.bz2
fisheye-b56d0264b5bedb1508caef08812edd1f5dcfe04f.zip
Remove reserved word
Diffstat (limited to 'FisheyeGallery.php')
-rw-r--r--FisheyeGallery.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/FisheyeGallery.php b/FisheyeGallery.php
index 723a325..61d992c 100644
--- a/FisheyeGallery.php
+++ b/FisheyeGallery.php
@@ -1,6 +1,6 @@
<?php
/**
- * @version $Header: /cvsroot/bitweaver/_bit_fisheye/FisheyeGallery.php,v 1.55 2007/05/05 05:15:29 spiderr Exp $
+ * @version $Header: /cvsroot/bitweaver/_bit_fisheye/FisheyeGallery.php,v 1.56 2007/06/08 21:53:05 lsces Exp $
* @package fisheye
*/
@@ -516,11 +516,11 @@ vd( $this->mErrors );
$ret = FALSE;
if( @$this->verifyId( $this->mGalleryId ) ) {
- $query = "SELECT COUNT(`gallery_id`) AS `count`
+ $query = "SELECT COUNT(`gallery_id`) AS `gcount`
FROM `".BIT_DB_PREFIX."fisheye_gallery`
WHERE `gallery_id` = ?";
$rs = $this->mDb->query($query, array($this->mGalleryId));
- if ($rs->fields['count'] > 0)
+ if ($rs->fields['gcount'] > 0)
$ret = TRUE;
}