Revision: 1408
          http://mrbs.svn.sourceforge.net/mrbs/?rev=1408&view=rev
Author:   cimorrison
Date:     2010-08-10 21:30:05 +0000 (Tue, 10 Aug 2010)

Log Message:
-----------
Fixed potential bug that might occur in some abnormal circumstances.

Modified Paths:
--------------
    mrbs/trunk/web/standard_vars.inc.php

Modified: mrbs/trunk/web/standard_vars.inc.php
===================================================================
--- mrbs/trunk/web/standard_vars.inc.php        2010-08-07 13:37:27 UTC (rev 
1407)
+++ mrbs/trunk/web/standard_vars.inc.php        2010-08-10 21:30:05 UTC (rev 
1408)
@@ -13,7 +13,7 @@
 $room = get_form_var('room', 'int');
 
 // If we don't know the right date then use today's date
-if (!isset($day) or !isset($month) or !isset($year))
+if (empty($day) or empty($month) or empty($year))
 {
   $day   = date("d");
   $month = date("m");


This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.

------------------------------------------------------------------------------
This SF.net email is sponsored by 

Make an app they can't live without
Enter the BlackBerry Developer Challenge
http://p.sf.net/sfu/RIM-dev2dev 
_______________________________________________
Mrbs-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mrbs-commits

Reply via email to