We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
are these two blocks causing php warnings?
foreach ($this->exceptions as $key => $value) { $this->exceptions[$key] = array_filter($value, function ($element) { return (trim($element) !== ''); }); }
foreach ($this->exceptions as $ex_day => $ex_hours) { if (strtotime($ex_day) === $today) { // Today is an exception, use alternate hours instead $hours_today = $ex_hours; } }
wrapping them with if ($this->exceptions) seems to stop the warnings, not sure if isset should be used
if ($this->exceptions)
isset
The text was updated successfully, but these errors were encountered:
No branches or pull requests
are these two blocks causing php warnings?
wrapping them with
if ($this->exceptions)
seems to stop the warnings, not sure ifisset
should be usedThe text was updated successfully, but these errors were encountered: