Open johnyradio opened 6 years ago
Here's the fix.
Change line 44, from:
assert('$pageId > 0');
to
assert($pageId > 0);
Can someone patch the app? I can try. Would be my first patch ever :D
PHP decided to deprecate some default PHP functions and now is throwing notices. In production mode such messages shouldn't appear. It's only for an informational purpose.
Your options:
@jankus what's wrong with the patch i offered, above? It fixes the bug.
There's nothing wrong =] It needs changing the core files. And not everyone can access them or feels comfortable by doing that.
If you tested the fix thoroughly, please create a Pull Request. And with the next release it will go out for everyone.
Thx! Tho', I think deleting 2 characters from the core file is the simplest, least effort. Also, downgrading php seems undesirable.
ImpressPages rocks!
The same change is needed in line 75.
fix below