Update of /cvsroot/openfirst/photogallery
In directory sc8-pr-cvs1:/tmp/cvs-serv9845
Modified Files:
email.php
Log Message:
Fix error reported via debugging system which apparently didn't make it to the Bugzilla stage.
Index: email.php
===================================================================
RCS file: /cvsroot/openfirst/photogallery/email.php,v
retrieving revision 1.11
retrieving revision 1.12
diff -C2 -d -r1.11 -r1.12
*** email.php 24 Dec 2003 01:01:36 -0000 1.11
--- email.php 13 Jan 2004 01:05:28 -0000 1.12
***************
*** 30,33 ****
--- 30,37 ----
include_once("admin/galleryglobals.php");
+
+ if(! isset($_GET["PHOTO"])) { $_GET["PHOTO"] = ""; }
+ if(! isset($_GET["ID"])) { $_GET["ID"] = ""; }
+
// Get gallery information
$query = ofirst_dbquery("SELECT * FROM ofirst_photogallery_galleries WHERE ID = '".$_GET['ID']."'");
***************
*** 180,182 ****
<?php
include_once($footer);
! ?>
\ No newline at end of file
--- 184,186 ----
<?php
include_once($footer);
! ?>
|