steffen: server/kolab-resource-handlers/kolab-resource-handlers/resmgr kolabfilter.php, 1.26.2.8, 1.26.2.9

cvs at kolab.org cvs at kolab.org
Thu Oct 19 17:58:43 CEST 2006


Author: steffen

Update of /kolabrepository/server/kolab-resource-handlers/kolab-resource-handlers/resmgr
In directory doto:/tmp/cvs-serv3023/kolab-resource-handlers/resmgr

Modified Files:
      Tag: kolab_2_0_branch
	kolabfilter.php 
Log Message:
make inserted from text configurable (issue974)

Index: kolabfilter.php
===================================================================
RCS file: /kolabrepository/server/kolab-resource-handlers/kolab-resource-handlers/resmgr/Attic/kolabfilter.php,v
retrieving revision 1.26.2.8
retrieving revision 1.26.2.9
diff -u -d -r1.26.2.8 -r1.26.2.9
--- kolabfilter.php	19 Oct 2006 15:26:46 -0000	1.26.2.8
+++ kolabfilter.php	19 Oct 2006 15:58:41 -0000	1.26.2.9
@@ -105,7 +105,8 @@
 
 function rewrite_from($sender,$from) {
   global $params;
-  if( exists($param['untrusted_subject_insert']) ) $untrusted_subject_insert=$param['untrusted_subject_insert'];
+  if( array_key_exists('untrusted_subject_insert', $params) ) 
+    $untrusted_subject_insert=$param['untrusted_subject_insert'];
   else $untrusted_subject_insert="(UNTRUSTED, sender is <%s>)";
   $untrusted = sprintf($untrusted_subject_insert, $sender);
 





More information about the commits mailing list