Fork me on GitHub

Rapport de message :*
 

Re: tdmdownload module for XOOPS 2.5.9, PHP7

Titre du sujet : Re: tdmdownload module for XOOPS 2.5.9, PHP7
par JJDai sur 25/01/2020 00:00:08

J'ai pigé, il y a confusion entre $options et $categories, il faut changer les lignes :

if (!(== $options[0] && === count($options))) {
        
$criteria->add(new Criteria('cid''(' implode(','$options) . ')''IN'));
    }


par

if (!(== $categories[0] && === count($options))) {
        
$criteria->add(new Criteria('cid''(' implode(','$categories) . ')''IN'));
    }


JJDai
Propulsé avec XOOPS | Graphisme adapté par Tatane, Grosdunord, Montuy337513

28 Personne(s) en ligne (23 Personne(s) connectée(s) sur Forum) | Utilisateur(s): 0 | Invité(s): 28 | Plus ...