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);