diff options
author | Pim van den Berg | 2016-12-09 07:54:21 +0100 |
---|---|---|
committer | Pim van den Berg | 2016-12-09 07:54:21 +0100 |
commit | 4aef0f7e017cdf7e2b92dc9a9f700368506879e9 (patch) | |
tree | 111fff2752c34d314c9ca3c26693be50107c6943 /inc/html.inc.php | |
parent | inc/html: fix php notice about html_weburl when type is canvas (diff) | |
download | apt-panopticon_cgp-4aef0f7e017cdf7e2b92dc9a9f700368506879e9.zip apt-panopticon_cgp-4aef0f7e017cdf7e2b92dc9a9f700368506879e9.tar.gz apt-panopticon_cgp-4aef0f7e017cdf7e2b92dc9a9f700368506879e9.tar.bz2 apt-panopticon_cgp-4aef0f7e017cdf7e2b92dc9a9f700368506879e9.tar.xz |
inc/functions: check if $_GET value is empty before executing preg_match
When using "canvas" mode, a lot of these errors were thrown:
> Invalid type instance in $_GET["ti"]: ""
> Invalid type instance in $_GET["pi"]: ""
Closes: #132
Diffstat (limited to 'inc/html.inc.php')
0 files changed, 0 insertions, 0 deletions