Special handling for path when favorite is set via GET parameter

This commit is contained in:
Nathan Gray 2015-02-02 17:57:47 +00:00
parent 1177acd3d3
commit 1e5232d441

View File

@ -304,6 +304,11 @@ class filemanager_ui
if (isset($_GET['msg'])) $msg = $_GET['msg'];
// Blank favorite set via GET needs special handling for path
if (isset($_GET['favorite']) && $_GET['favorite'] == 'blank')
{
$content['nm']['path'] = static::get_home_dir();
}
// switch to projectmanager folders
if (isset($_GET['pm_id']))
{