- Messages : 1
- Remerciements reçus 0
The developer takes a few days off for Holidays...
...and will be back with charged battery!
From 23 December to 2 January 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.