- Messaggi: 1
- Ringraziamenti ricevuti 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.
Si prega Accedi o Crea un account a partecipare alla conversazione.
/**
* 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;
}
Si prega Accedi o Crea un account a partecipare alla conversazione.