소스 검색

trying to fix an undefined index error still broken

pull/16/head
mauirixxx 7 년 전
부모
커밋
5d3b8b81ee
1개의 변경된 파일6개의 추가작업 그리고 5개의 파일을 삭제
  1. +6
    -5
      includes/verifications.php

+ 6
- 5
includes/verifications.php 파일 보기

@@ -49,10 +49,11 @@ if (!empty($_POST['useremail'])) {

####################
# verifying passwords match each other

if (($_POST['userpass1']) != ($_POST['userpass2'])) {
echo '<center>The passwords don\'t match!<br /><a href="register.php">Please try again!</a>';
include_once ('footer.php');
exit();
if (!empty($_POST['userpass1'] && $_POST['userpass2'])) {
if (($_POST['userpass1']) != ($_POST['userpass2'])) {
echo '<center>The passwords don\'t match!<br /><a href="register.php">Please try again!</a>';
include_once ('footer.php');
exit();
}
}
?>

불러오는 중...
취소
저장