|
@@ -287,7 +287,9 @@ else {
|
|
|
echo "<table $table_width cellpadding='0' cellspacing='0' border='0'>";
|
|
|
echo "<td align='left' width='100%' nowrap><b>".$text['title']."</b></td>\n";
|
|
|
echo "<td nowrap='nowrap'>\n";
|
|
|
- echo " <input type='button' class='btn' onclick=\"window.location='".$_SESSION['login']['destination']['url']."'\" value='".$text['button-back']."'>";
|
|
|
+ if (strlen($_SESSION['login']['destination']['url']) > 0) {
|
|
|
+ echo " <input type='button' class='btn' onclick=\"window.location='".$_SESSION['login']['destination']['url']."'\" value='".$text['button-back']."'>";
|
|
|
+ }
|
|
|
echo " <input type='submit' name='submit' class='btn' value='".$text['button-save']."'>";
|
|
|
echo "</td>\n";
|
|
|
echo "</tr>\n";
|