Update of /cvsroot/php-blog/serendipity/templates/newspaper
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv31998/templates/newspaper
Modified Files:
layout.php
Log Message:
s9y as shared library.
plus some small bugfixes/code guideline issues which were too hard to seperate from this commit
Index: layout.php
===================================================================
RCS file: /cvsroot/php-blog/serendipity/templates/newspaper/layout.php,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -d -r1.7 -r1.8
--- layout.php 15 Mar 2004 08:51:12 -0000 1.7
+++ layout.php 21 Mar 2004 16:35:33 -0000 1.8
@@ -60,7 +60,7 @@
<td width="100%" valign="top" align="left" class="serendipityContent">
<?=$OPENSHADOW?>
<?php
- if (!is_numeric($serendipity["GET"]["range"]))
+ if (!isset($serendipity['GET']['range']) || !is_numeric($serendipity['GET']['range'])) {
$serendipity["GET"]["range"] = date("Ymd");
// The main area
|