29
0
mirror of https://github.com/joomla/joomla-cms.git synced 2024-06-28 16:13:42 +00:00

[#28967] Save & Close of Menu Item results in Fatal Error

This commit is contained in:
Rouven Weßling 2012-08-22 17:38:45 -07:00 committed by Mark Dexter
parent ecf937b0a8
commit 95e663d54f
12 changed files with 16 additions and 1 deletions

View File

@ -26,6 +26,9 @@ $ -> Language fix or change
- -> Removed
! -> Note
22-Aug-2012 Mark Dexter
# [#28967] Save & Close of Menu Item results in Fatal Error
21-Aug-2012 Jean-Marie Simonet
# [#28954] *Administrator templates positions untranslated when editing Module position

View File

@ -9,6 +9,8 @@
defined('JPATH_PLATFORM') or die;
jimport('joomla.filesystem.folder');
/**
* Tar format adapter for the JArchive class
*

View File

@ -9,6 +9,8 @@
defined('JPATH_PLATFORM') or die;
jimport('joomla.filesystem.folder');
/**
* ZIP format adapter for the JArchive class
*

View File

@ -10,6 +10,7 @@
defined('JPATH_PLATFORM') or die;
jimport('joomla.base.adapterinstance');
jimport('joomla.filesystem.folder');
/**
* Component installer

View File

@ -11,6 +11,7 @@ defined('JPATH_PLATFORM') or die;
jimport('joomla.installer.filemanifest');
jimport('joomla.base.adapterinstance');
jimport('joomla.filesystem.folder');
/**
* File installer

View File

@ -10,6 +10,7 @@
defined('JPATH_PLATFORM') or die;
jimport('joomla.base.adapterinstance');
jimport('joomla.filesystem.folder');
/**
* Language installer

View File

@ -11,6 +11,7 @@ defined('JPATH_PLATFORM') or die;
jimport('joomla.installer.librarymanifest');
jimport('joomla.base.adapterinstance');
jimport('joomla.filesystem.folder');
/**
* Library installer

View File

@ -10,6 +10,7 @@
defined('JPATH_PLATFORM') or die;
jimport('joomla.base.adapterinstance');
jimport('joomla.filesystem.folder');
/**
* Module installer

View File

@ -11,6 +11,7 @@ defined('JPATH_PLATFORM') or die;
jimport('joomla.base.adapterinstance');
jimport('joomla.installer.packagemanifest');
jimport('joomla.filesystem.folder');
/**
* Package installer

View File

@ -10,6 +10,7 @@
defined('JPATH_PLATFORM') or die;
jimport('joomla.base.adapterinstance');
jimport('joomla.filesystem.folder');
/**
* Plugin installer

View File

@ -11,6 +11,7 @@ defined('JPATH_PLATFORM') or die;
jimport('joomla.installer.extension');
jimport('joomla.base.adapterinstance');
jimport('joomla.filesystem.folder');
/**
* Template installer

View File

@ -111,7 +111,7 @@ class JTableMenu extends JTableNested
}
// Verify that a first level menu item alias is not the name of a folder.
jimport('joomla.filesystem.folders');
jimport('joomla.filesystem.folder');
if ($this->parent_id == 1 && in_array($this->alias, JFolder::folders(JPATH_ROOT)))
{
$this->setError(JText::sprintf('JLIB_DATABASE_ERROR_MENU_ROOT_ALIAS_FOLDER', $this->alias, $this->alias));