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

do not return NULL, if database is empty #273

Merged
merged 1 commit into from
Oct 18, 2023
Merged

Commits on Oct 18, 2023

  1. do not return NULL, if database is empty (#273)

    Null causes trouble during further processing, i.e. PHP warnings in the
    API processing and later on problems building the dashboard widget in
    Javascript, because all methods expect the array to have all keys.
    
    Move the caching (transient) directive into the conditional, so we still
    do not cache empty results and so not return NULL anymore.
    stklcode committed Oct 18, 2023
    Configuration menu
    Copy the full SHA
    83a29f1 View commit details
    Browse the repository at this point in the history