diff options
-rw-r--r-- | pages/account/43.php | 4 | ||||
-rw-r--r-- | pages/account/44.php | 16 |
2 files changed, 15 insertions, 5 deletions
diff --git a/pages/account/43.php b/pages/account/43.php index c69ecb6..9a9d75f 100644 --- a/pages/account/43.php +++ b/pages/account/43.php @@ -14,8 +14,8 @@ You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA -*/ ?> -<? +*/ + include_once($_SESSION['_config']['filepath']."/includes/notary.inc.php"); $ticketno=''; diff --git a/pages/account/44.php b/pages/account/44.php index a26ab0f..8546c07 100644 --- a/pages/account/44.php +++ b/pages/account/44.php @@ -14,10 +14,20 @@ You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA -*/ ?> -<? if(array_key_exists('error',$_SESSION['_config']) && $_SESSION['_config']['error'] != "") { ?><div color="orange">ERROR: <?=$_SESSION['_config']['error']?></div><? unset($_SESSION['_config']['error']); } +*/ + +if(array_key_exists('error',$_SESSION['_config']) && $_SESSION['_config']['error'] != "") { + ?> + <div color="orange">ERROR: <?=$_SESSION['_config']['error']?></div> + <? + unset($_SESSION['_config']['error']); +} + +$ticketno = ""; +if (array_key_exists('ticketno', $_SESSION)) { + $ticketno = $_SESSION['ticketno']; +} -$ticketno = ""; if(array_key_exists('ticketno', $_SESSION)) $ticketno = $_SESSION['ticketno']; if (!valid_ticket_number($ticketno)) { printf(_("I'm sorry, you did not enter a ticket number!%sYou cannot reset the password."), '<br/>'); echo '<br/><a href="account.php?id=43&userid='.intval($_REQUEST['userid']).'">'._('Back to previous page.').'</a>'; |