From d18c666b76f972cffc76e56531cd1a35844d9031 Mon Sep 17 00:00:00 2001 From: mcramer <m.cramer@pixcept.de> Date: Fri, 19 Oct 2012 12:56:30 -0400 Subject: [PATCH] Fixed: change triggers were missing (copied from domains to vhost subdomains) --- interface/lib/classes/remoting_lib.inc.php | 12 ++---------- 1 files changed, 2 insertions(+), 10 deletions(-) diff --git a/interface/lib/classes/remoting_lib.inc.php b/interface/lib/classes/remoting_lib.inc.php index 67ad855..40db6e0 100644 --- a/interface/lib/classes/remoting_lib.inc.php +++ b/interface/lib/classes/remoting_lib.inc.php @@ -418,18 +418,10 @@ $returnval = strtoupper($field_value); break; case 'IDNTOASCII': - if(function_exists('idn_to_ascii')) { - $returnval = idn_to_ascii($field_value); - } else { - $returnval = $field_value; - } + $returnval = $app->functions->idn_encode($field_value); break; case 'IDNTOUTF8': - if(function_exists('idn_to_utf8')) { - $returnval = idn_to_utf8($field_value); - } else { - $returnval = $field_value; - } + $returnval = $app->functions->idn_decode($field_value); break; default: $this->errorMessage .= "Unknown Filter: ".$filter['type']; -- Gitblit v1.9.1