english/administrator/components/com_aicontactsafe/controller.php
// this is a protection for the refresh button on the browser
this is a protection for the refresh button on the browser
this is a protection for the refresh button on the browser
function checkLastTask() {
		$last_task_temp = $this->_app->_session->get( 'last_task_temp' );
		if (is_array($last_task_temp)) {
			$last_task = $this->getLastTask();
			if ( count(array_diff($last_task_temp, $last_task)) + count(array_diff($last_task, $last_task_temp)) > 0 ) {
				$this->_app->_session->set( 'last_task', $last_task_temp );
			}
		}
	}
function checkLastTask ( ) { $ last_task_temp = $ this -> _app -> _session -> get ( 'last_task_temp' ) ; if ( is_array ( $ last_task_temp ) ) { $ last_task = $ this -> getLastTask ( ) ; if ( count ( array_diff ( $ last_task_temp , $ last_task ) ) + count ( array_diff ( $ last_task , $ last_task_temp ) ) > 0 ) { $ this -> _app -> _session -> set ( 'last_task' , $ last_task_temp ) ; } } }
this is a protection for the refresh button on the browser
this is a protection for the refresh button on the browser