Skip to content

Commit

Permalink
Update helper.php
Browse files Browse the repository at this point in the history
  • Loading branch information
gregoryloichot committed Apr 15, 2024
1 parent ac65352 commit f24b494
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion helper.php
Expand Up @@ -39,7 +39,7 @@ public function load_config() {
*/
public function add_entry($usergroup, $time) {
$time = (int) $time;
if ($usergroup == '' || $time == '') {
if ($usergroup == '') {
msg($this->getLang('groupCannotBeEmpty'), -1);
return;
}
Expand Down

0 comments on commit f24b494

Please sign in to comment.