mirror of
https://git.code.sf.net/p/seeddms/code
synced 2025-05-14 21:51:32 +00:00
fix another error message
This commit is contained in:
parent
9c2928a60f
commit
5200057e19
|
@ -214,7 +214,7 @@ if(isset($_GET["fullsearch"]) && $_GET["fullsearch"]) {
|
||||||
$startFolder = $dms->getFolder($targetid);
|
$startFolder = $dms->getFolder($targetid);
|
||||||
}
|
}
|
||||||
if (!is_object($startFolder)) {
|
if (!is_object($startFolder)) {
|
||||||
UI::exitError(getMLText("search_results"),getMLText("invalid_folder_id"));
|
UI::exitError(getMLText("search"),getMLText("invalid_folder_id"));
|
||||||
}
|
}
|
||||||
|
|
||||||
// Check to see if the search has been restricted to a particular
|
// Check to see if the search has been restricted to a particular
|
||||||
|
@ -223,10 +223,7 @@ if(isset($_GET["fullsearch"]) && $_GET["fullsearch"]) {
|
||||||
if (isset($_GET["ownerid"]) && is_numeric($_GET["ownerid"]) && $_GET["ownerid"]!=-1) {
|
if (isset($_GET["ownerid"]) && is_numeric($_GET["ownerid"]) && $_GET["ownerid"]!=-1) {
|
||||||
$owner = $dms->getUser($_GET["ownerid"]);
|
$owner = $dms->getUser($_GET["ownerid"]);
|
||||||
if (!is_object($owner)) {
|
if (!is_object($owner)) {
|
||||||
UI::htmlStartPage(getMLText("search_results"));
|
UI::exitError(getMLText("search"),getMLText("unknown_owner"));
|
||||||
UI::contentContainer(getMLText("unknown_owner"));
|
|
||||||
UI::htmlEndPage();
|
|
||||||
exit;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user