phpgroupware-cvs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Phpgroupware-cvs] headlines/editheadline.php, 1.12.2.1.2.4


From: nomail
Subject: [Phpgroupware-cvs] headlines/editheadline.php, 1.12.2.1.2.4
Date: Thu, 15 Jul 2004 07:15:21 +0200

Update of /headlines
Modified Files:
        Branch: Version-0_9_16-branch
          editheadline.php

date: 2004/07/15 05:15:21;  author: skwashd;  state: Exp;  lines: +3 -3

Log Message:
globals fixes
=====================================================================
Index: headlines/editheadline.php
diff -u headlines/editheadline.php:1.12.2.1.2.3 
headlines/editheadline.php:1.12.2.1.2.4
--- headlines/editheadline.php:1.12.2.1.2.3     Thu Jan 29 08:46:11 2004
+++ headlines/editheadline.php  Thu Jul 15 05:15:21 2004
@@ -37,7 +37,7 @@
                        $n_display = 
$GLOBALS['phpgw']->db->db_addslashes($_POST['n_display']);
                }
                
-               if (! $_POST['$n_base_url'])
+               if (! $_POST['n_base_url'])
                {
                        $errors[] = lang('You must enter a base url');
                }
@@ -95,7 +95,7 @@
                        . " display='$n_display'," 
                        . " base_url='$n_base_url',"
                        . " newsfile='$n_newsfile',"
-                       . " lastread=0, newstype='" . 
$GLOBALS['phpgw']->db->db_addslashes($n_newstype) . "',"
+                       . " lastread=0, newstype='" . 
$GLOBALS['phpgw']->db->db_addslashes($_POST['n_newstype']) . "',"
                        . " cachetime = $n_cachetime, "
                        . " listings = $n_listings "
                        . " WHERE con= $con",__LINE__,__FILE__);




reply via email to

[Prev in Thread] Current Thread [Next in Thread]