From 8c443d07e18f20a22f5e598a3e17caf40acfd680 Mon Sep 17 00:00:00 2001 From: Sunpoet Po-Chuan Hsieh Date: Thu, 27 Oct 2011 17:01:43 +0000 Subject: - Update to 1.2.2 Changes: http://sourceforge.net/projects/phpldapadmin/files/phpldapadmin-php5/1.2.2/ PR: ports/162065 Submitted by: Matthew Seaman (maintainer) --- net/phpldapadmin/files/patch-lib__functions.php | 14 -------------- 1 file changed, 14 deletions(-) delete mode 100644 net/phpldapadmin/files/patch-lib__functions.php (limited to 'net/phpldapadmin/files') diff --git a/net/phpldapadmin/files/patch-lib__functions.php b/net/phpldapadmin/files/patch-lib__functions.php deleted file mode 100644 index 9d9009e28464..000000000000 --- a/net/phpldapadmin/files/patch-lib__functions.php +++ /dev/null @@ -1,14 +0,0 @@ ---- ./lib/functions.php.orig 2011-05-11 05:40:18.000000000 -0400 -+++ ./lib/functions.php 2011-10-24 09:00:11.000000000 -0400 -@@ -1003,8 +1003,9 @@ - if (defined('DEBUG_ENABLED') && DEBUG_ENABLED && (($fargs=func_get_args())||$fargs='NOARGS')) - debug_log('Entered (%%)',1,0,__FILE__,__LINE__,__METHOD__,$fargs); - -- # if the array to sort is null or empty -- if (! $data) return; -+ # if the array to sort is null or empty, or if we have some nasty chars -+ if (! preg_match('/^[a-zA-Z0-9_]+(\([a-zA-Z0-9_,]*\))?$/',$sortby) || ! $data) -+ return; - - static $CACHE = array(); - -- cgit v1.2.3