- Messages : 1
- Remerciements reçus 0
The developer takes 2 weeks off for vacation...
...and will be back with charged battery!
From 27 September to 11 October, 2026 included
During this period, assistance from developer will not be provided.
Connexion ou Créer un compte pour participer à la conversation.
/**
* Approve Function.
*
* @since 3.2.0
*/
function approve($cid, $publish)
{
if (count($cid))
{
JArrayHelper::toInteger($cid);
$cids = implode( ',', $cid );
$query = 'UPDATE #__icagenda_events'
. ' SET approval = '.(int) $publish
. ' WHERE id IN ( '.$cids.' )';
$this->_db->setQuery( $query );
if ( ! $this->_db->query())
{
$this->setError($this->_db->getErrorMsg());
return false;
}
}
return true;
}
Connexion ou Créer un compte pour participer à la conversation.

