mirror of
https://git.code.sf.net/p/seeddms/code
synced 2025-02-06 15:14:58 +00:00
fix php warning
This commit is contained in:
parent
630b7b33d0
commit
18215ebf7f
|
@ -70,7 +70,7 @@ if($settings->_quota > 0) {
|
||||||
}
|
}
|
||||||
|
|
||||||
if($user->isAdmin()) {
|
if($user->isAdmin()) {
|
||||||
$ownerid = (int) $_POST["ownerid"];
|
$ownerid = !empty($_POST['ownerid']) ? (int) $_POST["ownerid"] : null;
|
||||||
if($ownerid) {
|
if($ownerid) {
|
||||||
if(!($owner = $dms->getUser($ownerid))) {
|
if(!($owner = $dms->getUser($ownerid))) {
|
||||||
UI::exitError(getMLText("folder_title", array("foldername" => $folder->getName())),getMLText("error_occured"));
|
UI::exitError(getMLText("folder_title", array("foldername" => $folder->getName())),getMLText("error_occured"));
|
||||||
|
|
Loading…
Reference in New Issue
Block a user