Skip to content
This repository was archived by the owner on Jun 26, 2024. It is now read-only.

Commit 95e663d

Browse files
realitykingdextercowley
authored andcommitted
[joomla#28967] Save & Close of Menu Item results in Fatal Error
1 parent ecf937b commit 95e663d

File tree

12 files changed

+16
-1
lines changed

12 files changed

+16
-1
lines changed

installation/CHANGELOG

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,9 @@ $ -> Language fix or change
2626
- -> Removed
2727
! -> Note
2828

29+
22-Aug-2012 Mark Dexter
30+
# [#28967] Save & Close of Menu Item results in Fatal Error
31+
2932
21-Aug-2012 Jean-Marie Simonet
3033
# [#28954] *Administrator templates positions untranslated when editing Module position
3134

libraries/joomla/archive/tar.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,8 @@
99

1010
defined('JPATH_PLATFORM') or die;
1111

12+
jimport('joomla.filesystem.folder');
13+
1214
/**
1315
* Tar format adapter for the JArchive class
1416
*

libraries/joomla/archive/zip.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,8 @@
99

1010
defined('JPATH_PLATFORM') or die;
1111

12+
jimport('joomla.filesystem.folder');
13+
1214
/**
1315
* ZIP format adapter for the JArchive class
1416
*

libraries/joomla/installer/adapters/component.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010
defined('JPATH_PLATFORM') or die;
1111

1212
jimport('joomla.base.adapterinstance');
13+
jimport('joomla.filesystem.folder');
1314

1415
/**
1516
* Component installer

libraries/joomla/installer/adapters/file.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111

1212
jimport('joomla.installer.filemanifest');
1313
jimport('joomla.base.adapterinstance');
14+
jimport('joomla.filesystem.folder');
1415

1516
/**
1617
* File installer

libraries/joomla/installer/adapters/language.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010
defined('JPATH_PLATFORM') or die;
1111

1212
jimport('joomla.base.adapterinstance');
13+
jimport('joomla.filesystem.folder');
1314

1415
/**
1516
* Language installer

libraries/joomla/installer/adapters/library.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111

1212
jimport('joomla.installer.librarymanifest');
1313
jimport('joomla.base.adapterinstance');
14+
jimport('joomla.filesystem.folder');
1415

1516
/**
1617
* Library installer

libraries/joomla/installer/adapters/module.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010
defined('JPATH_PLATFORM') or die;
1111

1212
jimport('joomla.base.adapterinstance');
13+
jimport('joomla.filesystem.folder');
1314

1415
/**
1516
* Module installer

libraries/joomla/installer/adapters/package.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111

1212
jimport('joomla.base.adapterinstance');
1313
jimport('joomla.installer.packagemanifest');
14+
jimport('joomla.filesystem.folder');
1415

1516
/**
1617
* Package installer

libraries/joomla/installer/adapters/plugin.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010
defined('JPATH_PLATFORM') or die;
1111

1212
jimport('joomla.base.adapterinstance');
13+
jimport('joomla.filesystem.folder');
1314

1415
/**
1516
* Plugin installer

libraries/joomla/installer/adapters/template.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111

1212
jimport('joomla.installer.extension');
1313
jimport('joomla.base.adapterinstance');
14+
jimport('joomla.filesystem.folder');
1415

1516
/**
1617
* Template installer

libraries/legacy/table/menu.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ public function check()
111111
}
112112

113113
// Verify that a first level menu item alias is not the name of a folder.
114-
jimport('joomla.filesystem.folders');
114+
jimport('joomla.filesystem.folder');
115115
if ($this->parent_id == 1 && in_array($this->alias, JFolder::folders(JPATH_ROOT)))
116116
{
117117
$this->setError(JText::sprintf('JLIB_DATABASE_ERROR_MENU_ROOT_ALIAS_FOLDER', $this->alias, $this->alias));

0 commit comments

Comments
 (0)