Project

General

Profile

1
<?php
2

    
3
defined('_JEXEC') or die('Access denied');
4

    
5
jimport('joomla.log.log');
6

    
7
class OpenAireViewConfiguration extends JViewLegacy {
8
	function display($template = NULL) {
9
		if ($this -> get('Errors')!=null && count($errors = $this -> get('Errors')) > 0) {
10
			JLog :: add('Error viewing configuration: ' . implode("\n", $errors), JLog :: ERROR, self :: LOG);
11
			return FALSE;
12
		}
13
		parent :: display($template);
14
	}
15
}
16

    
(2-2/2)