X-Git-Url: https://git.mxchange.org/?p=mailer.git;a=blobdiff_plain;f=inc%2Fmodules%2Fmember%2Fwhat-holiday.php;h=f4d4dcca5fda7b7944161c93e004d6bb00bdb2bb;hp=ec15bd331b3dd4dfcb51f5751b660ed174674fe3;hb=3afdce4fe00b4af570122ce7b8158ced44aec7d3;hpb=30986f637cd3c03951bdbfc880b9a420f7724ce0 diff --git a/inc/modules/member/what-holiday.php b/inc/modules/member/what-holiday.php index ec15bd331b..f4d4dcca5f 100644 --- a/inc/modules/member/what-holiday.php +++ b/inc/modules/member/what-holiday.php @@ -88,7 +88,7 @@ if ((SQL_NUMROWS($result1) == 1) || (SQL_NUMROWS($result2) == 1)) { SQL_FREERESULT($result1); SQL_FREERESULT($result2); -if (IS_FORM_SENT()) { +if (isFormSent()) { // Check holiday request... $START = mktime(0, 0, 0, REQUEST_POST('start_month'), REQUEST_POST('start_day'), REQUEST_POST('start_year')); $END = mktime(0, 0, 0, REQUEST_POST('end_month') , REQUEST_POST('end_day') , REQUEST_POST('end_year') ); @@ -179,7 +179,7 @@ WHERE userid=%s LIMIT 1", array(getUserId()), __FILE__, __LINE__); } // If something is wrong or link in menu is just clicked display form -if ((!IS_FORM_SENT()) && (!REQUEST_ISSET_POST('stop'))) { +if ((!isFormSent()) && (!REQUEST_ISSET_POST('stop'))) { // Check if user is in holiday... $result = SQL_QUERY_ESC("SELECT holiday_active, holiday_activated FROM `{!_MYSQL_PREFIX!}_user_data` WHERE userid=%s LIMIT 1", array(getUserId()), __FILE__, __LINE__);