[20894] Bug fix : Fixing get_var to phpgw::get_var stuff

Caeies <[email protected]>
Newsgroups gmane.comp.web.phpgroupware.cvs
Message-ID <[email protected]>
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>'; }
 		}
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.