notices thrown
-
Nice plugin, very handy. I would like to avoid my logs to fill up with php notices, is it possible to update the plugin to check the $_GETS?
$text = isset($_GET['text']) ? $_GET['text'] : ''; $format = isset($_GET['format']) ? $_GET['format'] : 'svg'; $outfile = isset($_GET['outfile']) ? $_GET['outfile'] : false; $level = isset($_GET['level']) ? $_GET['level'] : 'QR_ECLEVEL_L'; $size = isset($_GET['size']) ? $_GET['size'] : '3'; $margin = isset($_GET['margin']) ? $_GET['margin'] : '3'; $saveandprint = isset($_GET['saveandprint']) ? $_GET['saveandprint']: false; $back_color = isset($_GET['back_color']) ? $_GET['back_color'] : 0xFFFFFF; if (!is_numeric($back_color)){ $back_color = hexdec($back_color); } $fore_color = isset($_GET['fore_color']) ? $_GET['fore_color'] : 0x000000; if (!is_numeric($fore_color)){ $fore_color = hexdec($fore_color); }
Thank you in advance!
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘notices thrown’ is closed to new replies.