File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed
Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change 1414
1515if (!empty ($ _POST ['ok ' ])) {
1616 // Check input
17- if ((!isset ($ _POST ['v_min ' ])) || ($ _POST ['v_min ' ] ! = '' )) $ errors [] = __ ('minute ' );
18- if ((!isset ($ _POST ['v_hour ' ])) || ($ _POST ['v_hour ' ] ! = '' )) $ errors [] = __ ('hour ' );
19- if ((!isset ($ _POST ['v_day ' ])) || ($ _POST ['v_day ' ] ! = '' )) $ errors [] = __ ('day ' );
20- if ((!isset ($ _POST ['v_month ' ])) || ($ _POST ['v_month ' ] ! = '' )) $ errors [] = __ ('month ' );
21- if ((!isset ($ _POST ['v_wday ' ])) || ($ _POST ['v_wday ' ] ! = '' )) $ errors [] = __ ('day of week ' );
22- if ((!isset ($ _POST ['v_cmd ' ])) || ($ _POST ['v_cmd ' ] ! = '' )) $ errors [] = __ ('cmd ' );
17+ if ((!isset ($ _POST ['v_min ' ])) || ($ _POST ['v_min ' ] = = '' )) $ errors [] = __ ('minute ' );
18+ if ((!isset ($ _POST ['v_hour ' ])) || ($ _POST ['v_hour ' ] = = '' )) $ errors [] = __ ('hour ' );
19+ if ((!isset ($ _POST ['v_day ' ])) || ($ _POST ['v_day ' ] = = '' )) $ errors [] = __ ('day ' );
20+ if ((!isset ($ _POST ['v_month ' ])) || ($ _POST ['v_month ' ] = = '' )) $ errors [] = __ ('month ' );
21+ if ((!isset ($ _POST ['v_wday ' ])) || ($ _POST ['v_wday ' ] = = '' )) $ errors [] = __ ('day of week ' );
22+ if ((!isset ($ _POST ['v_cmd ' ])) || ($ _POST ['v_cmd ' ] = = '' )) $ errors [] = __ ('cmd ' );
2323
2424 // Protect input
2525 $ v_min = escapeshellarg ($ _POST ['v_min ' ]);
You can’t perform that action at this time.
0 commit comments