mirror of
https://git.code.sf.net/p/seeddms/code
synced 2024-11-26 15:32:13 +00:00
getFolder() can be forced to treas $id as a name
This commit is contained in:
parent
858552b743
commit
010179fc98
|
@ -149,7 +149,8 @@ function getLockedDocuments() { /* {{{ */
|
|||
|
||||
function getFolder($id) { /* {{{ */
|
||||
global $app, $dms, $userobj;
|
||||
if(is_numeric($id))
|
||||
$forcebyname = $app->request()->get('forcebyname');
|
||||
if(is_numeric($id) && empty($forcebyname))
|
||||
$folder = $dms->getFolder($id);
|
||||
else {
|
||||
$parentid = $app->request()->get('parentid');
|
||||
|
|
Loading…
Reference in New Issue
Block a user