backtopageforcancel can be set but empty

This commit is contained in:
Francis Appels 2021-07-06 16:39:58 +02:00
parent 1333ca3660
commit 874bf8ed44

View File

@ -183,7 +183,7 @@ if ($action == 'create') {
if ($backtopage) {
print '<input type="hidden" name="backtopage" value="'.$backtopage.'">';
}
if (isset($backtopageforcancel)) {
if (!empty($backtopageforcancel)) {
print '<input type="hidden" name="backtopageforcancel" value="'.$backtopageforcancel.'">';
}