PHP 8.0 undefined variable 오류 수정
uri.lib.php 에서 uri.class.php 사용하지않고 있음.
This commit is contained in:
@ -327,7 +327,7 @@ function is_vaild_callback($callback){
|
||||
function CheckCommonTypeDate($strDate) {
|
||||
$strDate = preg_replace("/[^0-9]/", "", $strDate);
|
||||
if ($strDate){
|
||||
if (!checkdate(substr($strDate,4,2),substr($strDate,6,2),substr($rsvTime,0,4)))
|
||||
if (!checkdate(substr($strDate,4,2),substr($strDate,6,2),substr($strDate,0,4)))
|
||||
return "예약날짜오류";
|
||||
if (substr($strDate,8,2)>23 || substr($strDate,10,2)>59) return false;
|
||||
return "예약날짜오류";
|
||||
|
||||
Reference in New Issue
Block a user