Closed dev-101 closed 6 years ago
osc_last_version_check osc_themes_last_version_check osc_plugins_last_version_check osc_languages_last_version_check
Above helpers should return integers, as time() returns integer as well.
Just a "fun fact" - Osclass version is stored as INTEGER in database, while all other 3 values as STRING. Not that it matters much, though. They should still be casted as int's.
In PHP 7.2+ this raises a warning:
\oc-admin\themes\modern\functions.php
We need to cast return values as integers to avoid it.