cvs: phpweb /include layout.inc
| From: | Hannes Magnusson | Date: | Sun, 11 Feb 2007 14:38:45 +0000 |
| Subject: | cvs: phpweb /include layout.inc | ||
| Groups: | php.mirrors | ||
| Request: | Send a blank email to php-mirrors+get-34230@lists.php.net to get a copy of this message | ||
bjori Sun Feb 11 14:38:45 2007 UTC
Modified files:
/phpweb/include layout.inc
Log:
Get rid of warning
http://cvs.php.net/viewvc.cgi/phpweb/include/layout.inc?r1=1.258&r2=1.259&diff_format=u
Index: phpweb/include/layout.inc
diff -u phpweb/include/layout.inc:1.258 phpweb/include/layout.inc:1.259
--- phpweb/include/layout.inc:1.258 Sat Feb 10 14:20:38 2007
+++ phpweb/include/layout.inc Sun Feb 11 14:38:45 2007
@@ -1,5 +1,5 @@
<?php
-/* $Id: layout.inc,v 1.258 2007/02/10 14:20:38 bjori Exp $ */
+/* $Id: layout.inc,v 1.259 2007/02/11 14:38:45 bjori Exp $ */
// Set the static content root differently on php.net
$_SERVER['STATIC_ROOT'] = ($MYSITE == 'http://www.php.net/') ?
@@ -515,7 +515,7 @@
<?php
// Print out date if needed
- if ($include_date && ($event['start'])) {
+ if ($include_date && (isset($event['start']))) {
echo "<b>", date("F j, Y", $sday), "</b>\n";
}