Skip to content

Commit fb2283d

Browse files
committed
Check both ACL_NOT_SET/NOT_LOGGED_IN
1 parent 0303b17 commit fb2283d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Templates/Document/Delete.phtml

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ switch ($error)
1717
}
1818
require('./Includes/header.inc.phtml'); ?>
1919
<div class="container">
20-
<? if ($error === DeleteModel::ERROR_ACL_NOT_SET) { ?>
20+
<? if ($error === DeleteModel::ERROR_ACL_NOT_SET || $error === DeleteModel::ERROR_NOT_LOGGED_IN) { ?>
2121
<? require('./Includes/LoginRequired.inc.phtml'); ?>
2222
<? } else if (\is_null($error)) { ?>
2323
<h1 class="text-danger">Delete Document</h1>

0 commit comments

Comments
 (0)