From c53cab3632c78f9b2a15618f31bbaa147dd42d1f Mon Sep 17 00:00:00 2001 From: root Date: Tue, 14 Nov 2017 10:03:50 +0100 Subject: [PATCH] =?UTF-8?q?Solucionado=20problema=20con=20la=20creaci?= =?UTF-8?q?=C3=B3n=20de=20subdominios.=20No=20llegaba=20el=20id=20del=20cl?= =?UTF-8?q?iente=20a=20la=20funci=C3=B3n=20de=20inserci=C3=B3n=20de=20dato?= =?UTF-8?q?s=20para=20los=20subdominios?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- new_service_webdns.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/new_service_webdns.php b/new_service_webdns.php index 1b2ec4e..c23853d 100755 --- a/new_service_webdns.php +++ b/new_service_webdns.php @@ -271,6 +271,8 @@ class page_action extends tform_actions { function crearSubDominio($remoto, $campoSubDominio){ //para usar variables globales en las funciones hay que declararlas dentro de la funcion. global $app, $conf; + + $fields = $app->tform->encode($this->dataRecord, $app->tform->getCurrentTab(), true); //print "
"; print_r($campoSubDominio); print "
\n"; //Compruebo que el subdominio no existe consultando la tabla web_domain.