phpBB

Code Changes

File: includes/acp/acp_modules.php

  Unmodified   Added   Modified   Removed
Line 249Line 249
							trigger_error($msg . adm_back_link($this->u_action . '&parent_id=' . $this->parent_id), E_USER_WARNING);
}


							trigger_error($msg . adm_back_link($this->u_action . '&parent_id=' . $this->parent_id), E_USER_WARNING);
}


						if (!sizeof($errors))

						if (!count($errors))

						{
$module_manager->remove_cache_file($this->module_class);


						{
$module_manager->remove_cache_file($this->module_class);


Line 364Line 364
						trigger_error($msg . adm_back_link($this->u_action . '&parent_id=' . $this->parent_id), E_USER_WARNING);
}


						trigger_error($msg . adm_back_link($this->u_action . '&parent_id=' . $this->parent_id), E_USER_WARNING);
}


					if (!sizeof($errors))

					if (!count($errors))

					{
$module_manager->remove_cache_file($this->module_class);


					{
$module_manager->remove_cache_file($this->module_class);


Line 430Line 430
					array_change_key_case($module_data, CASE_UPPER))
);


					array_change_key_case($module_data, CASE_UPPER))
);


				if (sizeof($errors))

				if (count($errors))

				{
$template->assign_vars(array(
'S_ERROR' => true,

				{
$template->assign_vars(array(
'S_ERROR' => true,

Line 444Line 444
		}

// Default management page

		}

// Default management page

		if (sizeof($errors))

		if (count($errors))

		{
if ($request->is_ajax())
{

		{
if ($request->is_ajax())
{