phpgroupware-cvs
[Top][All Lists]
Advanced

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

[Phpgroupware-cvs] polls/admin_editquestion.php, 1.8.2.1.2.2


From: nomail
Subject: [Phpgroupware-cvs] polls/admin_editquestion.php, 1.8.2.1.2.2
Date: Wed, 10 Nov 2004 23:33:49 +0100

Update of /polls
Modified Files:
        Branch: Version-0_9_16-branch
          admin_editquestion.php

date: 2004/11/10 22:33:49;  author: ceb;  state: Exp;  lines: +2 -2

Log Message:
bugfix in edit_question
=====================================================================
Index: polls/admin_editquestion.php
diff -u polls/admin_editquestion.php:1.8.2.1.2.1 
polls/admin_editquestion.php:1.8.2.1.2.2
--- polls/admin_editquestion.php:1.8.2.1.2.1    Thu Jan 29 05:39:04 2004
+++ polls/admin_editquestion.php        Wed Nov 10 22:33:49 2004
@@ -28,7 +28,7 @@
 
        if ($_POST['edit'])
        {
-               $question = $db->db_addslashed($_POST['question']);
+               $question = 
$GLOBALS['phpgw']->db_addslashed($_POST['question']);
                $GLOBALS['phpgw']->db->query("UPDATE phpgw_polls_desc SET 
poll_title='$question'"
                        . " WHERE poll_id=$poll_id",__LINE__,__FILE__);
                $GLOBALS['phpgw']->template->set_var('message',lang('Question 
has been updated'));




reply via email to

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