[Openupload-svn-update] SF.net SVN: openupload:[194] trunk/lib/classes.inc.php
Status: Beta
Brought to you by:
tsdogs
|
From: <ts...@us...> - 2008-12-11 22:22:44
|
Revision: 194
http://openupload.svn.sourceforge.net/openupload/?rev=194&view=rev
Author: tsdogs
Date: 2008-12-11 21:59:15 +0000 (Thu, 11 Dec 2008)
Log Message:
-----------
fix problem with \r in plugin params
Modified Paths:
--------------
trunk/lib/classes.inc.php
Modified: trunk/lib/classes.inc.php
===================================================================
--- trunk/lib/classes.inc.php 2008-12-11 17:38:38 UTC (rev 193)
+++ trunk/lib/classes.inc.php 2008-12-11 21:59:15 UTC (rev 194)
@@ -147,6 +147,9 @@
switch ($o['type']) {
case 'list':
$this->config[$o['name']][$g] = explode("\n",chop($v['value']));
+ foreach ($this->config[$o['name']][$g] as $k => $z) {
+ $this->config[$o['name']][$g][$k] = chop($z);
+ }
break;
case 'text':
$this->config[$o['name']][$g] = $v['value'];
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|