Special handling for path when favorite is set via GET parameter

This commit is contained in:
Nathan Gray 2015-02-02 17:50:45 +00:00
parent 3ec43f0421
commit d183cc801f

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']))
{