Skip to content
New issue

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

added isset-check to prevent the errors in issue #34 #38

Open
wants to merge 1 commit into
base: v3
Choose a base branch
from

Conversation

lduer
Copy link

@lduer lduer commented Feb 19, 2016

I've added some check if vars and array-keys exist to prevent the errors thrown in #34

Reason for the errors is the GET-parameter ?[...]&action=update[...] which is not always added to the ajax-request to checks.php. In this case, the request-url doesn't request all data and the so the response array misses e.g. the timezone-key.

@lduer lduer mentioned this pull request Feb 19, 2016
@yylzcom
Copy link

yylzcom commented Mar 8, 2016

Hi, after I applying your code, there is an error shows "NaN hours, NaN Mins" on the duration.
Please check and help me solve this problem

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants