2
0
forked from Wavyzz/dolibarr

fix phan errors

This commit is contained in:
Mohamed DAOUD
2025-02-20 14:58:06 +01:00
parent e3e70ee35b
commit d15e265e56
2 changed files with 9 additions and 8 deletions

View File

@@ -82,11 +82,12 @@ $search_version = GETPOST('search_version', 'alpha');
// For remotestore search
$options = array();
$options['per_page'] = 10;
$options['no_page'] = ((int) GETPOSTINT('no_page') ? GETPOSTINT('no_page') : 1);
$options['categorie'] = ((int) (GETPOSTINT('categorie') ? GETPOSTINT('categorie') : 0));
$options['search'] = GETPOST('search_keyword', 'alpha');
$options = array();
$options['per_page'] = 10;
$options['no_page'] = ((int) GETPOSTINT('no_page') ? GETPOSTINT('no_page') : 1);
$options['categorie'] = ((int) (GETPOSTINT('categorie') ? GETPOSTINT('categorie') : 0));
$options['search'] = GETPOST('search_keyword', 'alpha');
$options['source'] = 'dolistore';
//$remotestore = new Dolistore(false);
$remotestore = new ExternalModules();