From 7ace2a8a4bb221a153e0e28d4f42f5aec9b63bfa Mon Sep 17 00:00:00 2001 From: "Florian Aders (EleRas)" Date: Mon, 27 Feb 2012 19:48:43 +0100 Subject: [PATCH] Fixing call to wrong posix function on customer create, fix by d4f, fixes #1032 Signed-off-by: Florian Aders (EleRas) --- admin_customers.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/admin_customers.php b/admin_customers.php index 4f02b81b..bf39d858 100644 --- a/admin_customers.php +++ b/admin_customers.php @@ -627,7 +627,7 @@ if($page == 'customers' } //Additional filtering for Bug #962 - if(function_exists('posix_getpwuid') && !in_array("posix_getpwuid",explode(",",ini_get('disable_functions'))) && posix_getpwuid($loginname)) { + if(function_exists('posix_getpwnam') && !in_array("posix_getpwnam",explode(",",ini_get('disable_functions'))) && posix_getpwnam($loginname)) { standard_error('loginnameissystemaccount', $settings['customer']['accountprefix']); } }