litespeedtech / lscache-opencart

GNU General Public License v3.0
26 stars 23 forks source link

Updated lscachebase.php #2

Open usefulz opened 6 years ago

usefulz commented 6 years ago

236526 - Needs to not rely on native construct empty() as it only accept non-variables after PHP 5.5.x. The purpose of line 49 was to check if the tag given was empty, so strlen() === 0 should do the same and is version agnostic.