Update of /cvsroot/openfirst/guestbook
In directory sc8-pr-cvs1:/tmp/cvs-serv24985
Modified Files:
index.php
Log Message:
Fix minor errors present on systems with higher than normal debug settings
Index: index.php
===================================================================
RCS file: /cvsroot/openfirst/guestbook/index.php,v
retrieving revision 1.4
retrieving revision 1.5
diff -C2 -d -r1.4 -r1.5
*** index.php 24 Jul 2003 00:42:20 -0000 1.4
--- index.php 20 Aug 2003 15:33:41 -0000 1.5
***************
*** 43,48 ****
! if((int)$_GET["perpage"] == 0) { $_GET["perpage"] = 5; }
! if((int)$_GET["start"] == 0) { $_GET["start"] = 0; }
echo("<form action='./' method='get'>
Start at posting <input type='text' name='start' value='" . $_GET["start"] ."' size='3'>
--- 43,48 ----
! if(isset($_GET["perpage"]) == false || (int)$_GET["perpage"] == 0) { $_GET["perpage"] = 5; }
! if(isset($_GET["start"]) == false || (int)$_GET["start"] == 0) { $_GET["start"] = 0; }
echo("<form action='./' method='get'>
Start at posting <input type='text' name='start' value='" . $_GET["start"] ."' size='3'>
|