@@ -22,7 +22,7 @@ |
||
| 22 | 22 | <li><a href="myticketbyresolver.php" target="contentFrame">My Resolution</a></li> |
| 23 | 23 | <li><a href="myticketwaitforclosed.php" target="contentFrame">Waiting for Close</a></li> |
| 24 | 24 | <li><a href="ticketlistuser.php" target="contentFrame">View All Opened Tickets</a></li> |
| 25 | - <?php endif;?> |
|
| 25 | + <?php endif; ?> |
|
| 26 | 26 | </ul> |
| 27 | 27 | </div> |
| 28 | 28 | </body> |
@@ -8,7 +8,7 @@ |
||
| 8 | 8 | $userpassword = $user['password']; |
| 9 | 9 | if ($oldpassword != $userpassword) {
|
| 10 | 10 | $errors[] = 'The old password does not match!'; |
| 11 | - } else {
|
|
| 11 | + }else {
|
|
| 12 | 12 | $newpassword1 = $_POST['newpassword1']; |
| 13 | 13 | $users->changepwd($userid, $newpassword1); |
| 14 | 14 | $users->log_users($_SESSION['loginid'], 'Change the old password'); |