[Customisation Database Commits] r159 - /trunk/titania/includes/mods/mods_details.php

Bertalan Fodor fberci at phpbb.hu
Sun Nov 9 12:24:49 CET 2008


Author: fberci
Date: Sun Nov  9 12:24:48 2008
New Revision: 159

Log:
Fix a bug (however, login_box() hasn't been fixed yet)

Modified:
    trunk/titania/includes/mods/mods_details.php

Modified: trunk/titania/includes/mods/mods_details.php
==============================================================================
*** trunk/titania/includes/mods/mods_details.php (original)
--- trunk/titania/includes/mods/mods_details.php Sun Nov  9 12:24:48 2008
***************
*** 180,186 ****
  
  		if (!$mod)
  		{
! 			trigger_error('MOD_NOT_FOUND');
  		}
  
  		$error = array();
--- 180,186 ----
  
  		if (!$mod)
  		{
! 			titania::trigger_error('MOD_NOT_FOUND', E_USER_NOTICE, HEADER_NOT_FOUND);
  		}
  
  		$error = array();
***************
*** 281,287 ****
  			'ERROR_MESSAGE'		=> (sizeof($error)) ? implode('<br />', $error) : '',
  
  			'S_LANG_OPTIONS'	=> language_select($email_lang),
! 			'S_POST_ACTION'		=> $this->u_action . '&amp;mod=' . $mod_id,
  		));
  	}
  
--- 281,287 ----
  			'ERROR_MESSAGE'		=> (sizeof($error)) ? implode('<br />', $error) : '',
  
  			'S_LANG_OPTIONS'	=> language_select($email_lang),
! 			'S_POST_ACTION'		=> append_sid($this->page, 'id=details&amp;mode=email&amp;mod=' . $mod_id),
  		));
  	}
  




More information about the customisationdb-commits mailing list