Projekt

Allgemein

Profil

GX-Bug #43731 » TemplateFileErrorFix.patch

Waldemar Willer, 03.11.2015 15:15

Unterschiede anzeigen:

src/system/core/ContentView.inc.php (revision )
292 292

  
293 293
	public function build_html($p_content_data_array = false, $p_template_file = false)
294 294
	{
295
		$t_html_output = '';
296

  
295 297
		$this->before_build_html();
296 298

  
297 299
		$this->init_smarty();
......
350 352
		$t_full_template_path = $this->v_template_dir . $t_template_file;
351 353

  
352 354
		$t_cache_id = $this->get_cache_id();
355

  
356
		if(file_exists($t_full_template_path))
357
		{
353
		$t_html_output = $this->v_coo_smarty->fetch($t_full_template_path, $t_cache_id);
358
			$t_html_output = $this->v_coo_smarty->fetch($t_full_template_path, $t_cache_id);
359
		}
360
		else {
361
			trigger_error('t_template_file does not exist: '.$t_full_template_path, E_USER_NOTICE);
362
		}
354 363

  
355 364
		# insert session_ids
356 365
		$t_html_output = $this->replace_session_id_placeholder($t_html_output);
    (1-1/1)