cvs: php-gtk-web /manual add-note.php

[email protected] ("Andrei Zmievski") Thu, 09 Aug 2001 16:10:02 -0000
Newsgroups php.gtk
Message-ID <cvsandrei997373402@cvsserver>
andrei		Thu Aug  9 12:10:02 2001 EDT

  Modified files:              
    /php-gtk-web/manual	add-note.php 
  Log:
  Fix typo.
  
  
Index: php-gtk-web/manual/add-note.php
diff -u php-gtk-web/manual/add-note.php:1.2 php-gtk-web/manual/add-note.php:1.3
--- php-gtk-web/manual/add-note.php:1.2	Thu Aug  9 12:02:01 2001
+++ php-gtk-web/manual/add-note.php	Thu Aug  9 12:10:02 2001
@@ -40,7 +40,7 @@
 mysql_pconnect("localhost", "nobody", "");
 mysql_select_db("gtk");
 
-if (isset($note) && isset($action) && strtolower($action) != "preview"):
+if (isset($note) && isset($action) && strtolower($action) != "preview") {
 	$now = date("Y-m-d H:i:s");
 	$query = "INSERT INTO note (user, note, sect, ts, lang) VALUES ";
         # no need to call htmlspecialchars() -- we handle it on output