phpgroupware-cvs
[Top][All Lists]
Advanced

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

[Phpgroupware-cvs] [20894] Bug fix : Fixing get_var to phpgw::get_var st


From: Caeies
Subject: [Phpgroupware-cvs] [20894] Bug fix : Fixing get_var to phpgw::get_var stuff
Date: Wed, 25 Nov 2009 15:17:38 +0000

Revision: 20894
          
http://svn.sv.gnu.org/viewvc/?view=rev&root=phpgroupware&revision=20894
Author:   Caeies
Date:     2009-11-25 15:17:38 +0000 (Wed, 25 Nov 2009)
Log Message:
-----------
Bug fix : Fixing get_var to phpgw::get_var stuff

Modified Paths:
--------------
    modules/email/trunk/inc/class.boattach_file.inc.php

Modified: modules/email/trunk/inc/class.boattach_file.inc.php
===================================================================
--- modules/email/trunk/inc/class.boattach_file.inc.php 2009-11-25 13:25:37 UTC 
(rev 20893)
+++ modules/email/trunk/inc/class.boattach_file.inc.php 2009-11-25 15:17:38 UTC 
(rev 20894)
@@ -116,8 +116,8 @@
                {
                        if ($this->debug > 2) { echo 'emai.boattach_file.attach 
('.__LINE__.'): $GLOBALS[phpgw]->msg->ref_POST data DUMP<pre>'; 
print_r($GLOBALS['phpgw']->msg->ref_POST);  echo '</pre>'; }
                        
-                       $this->control_data['action'] = 
htmlentities(get_var('action', array('POST') ) );
-                       $this->control_data['delete'] = get_var('delete', 
array('POST') );
+                       $this->control_data['action'] = 
htmlentities(phpgw::get_var('action', 'string', 'POST' ) );
+                       $this->control_data['delete'] = 
phpgw::get_var('delete', 'array', 'POST' );
                        
                        if ($this->debug > 2) { echo 'emai.boattach_file.attach 
('.__LINE__.'): $this->control_data DUMP<pre>'; print_r($this->control_data);  
echo '</pre>'; }
                }





reply via email to

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