Skip to content

Commit

Permalink
Minor bugfixes, removal of notices
Browse files Browse the repository at this point in the history
git-svn-id: file:///Users/Shitiz/Downloads/lssvn/trunk/unstable@830 b72ed6b6-b9f8-46b5-92b4-906544132732
  • Loading branch information
jcleeland committed Jan 10, 2004
1 parent dbefdfb commit 330df10
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions admin/deactivate.php
Expand Up @@ -33,9 +33,9 @@
# Suite 330, Boston, MA 02111-1307, USA. #
#############################################################
*/
$date = date(YmdHi); //'Hi' adds 24hours+minutes to name to allow multiple deactiviations in a day
$date = date('YmdHi'); //'Hi' adds 24hours+minutes to name to allow multiple deactiviations in a day

if (!$_GET['ok'])
if (!isset($_GET['ok']) || !$_GET['ok'])
{
echo "<br />\n<table width='350' align='center' style='border: 1px solid #555555' cellpadding='1' cellspacing='0'>\n";
echo "\t\t\t\t<tr bgcolor='#555555'><td height='4'><font size='1' face='verdana' color='white'><b>"._DEACTIVATE." ($sid)</b></td></tr>\n";
Expand Down Expand Up @@ -94,7 +94,7 @@
echo "\t\t\t"._AC_DEACTIVATED_MESSAGE1." $newtable.\n";
echo "\t\t\t"._AC_DEACTIVATED_MESSAGE2."\n";
echo "\t\t\t<p>"._AC_DEACTIVATED_MESSAGE3."</p>\n";
if ($toldtable)
if (isset($toldtable) && $toldtable)
{
echo "\t\t\t"._AC_DEACTIVATED_MESSAGE4." $tnewtable.\n";
}
Expand Down

0 comments on commit 330df10

Please sign in to comment.