From 7857e5992a32d9ac26fd1c59222969de3843383c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jaime=20Jim=C3=A9nez?= Date: Mon, 14 Oct 2024 14:33:49 +0200 Subject: [PATCH] test --- ci4/app/Controllers/Configuracion/Papelformato.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ci4/app/Controllers/Configuracion/Papelformato.php b/ci4/app/Controllers/Configuracion/Papelformato.php index ee1a4dfc..82d3e1e2 100755 --- a/ci4/app/Controllers/Configuracion/Papelformato.php +++ b/ci4/app/Controllers/Configuracion/Papelformato.php @@ -245,7 +245,7 @@ class Papelformato extends \App\Controllers\BaseResourceController { public function menuItems() { if ($this->request->isAJAX()) { $papelFormatoModel = model('App\Models\Configuracion\PapelFormatoModel'); - $searchStr = goSanitize($this->request->getPost('searchTerm'))[0]; + $searchStr = goSanitize($this->request->getPfgost('searchTerm'))[0]; $menu = $papelFormatoModel->getElementsForMenu2($searchStr); if(empty(($searchStr))) array_shift($menu);