Skip to content
Permalink
Browse files

Fix undefined variable log bloat

  • Loading branch information...
NEMS Linux
NEMS Linux committed Mar 28, 2019
1 parent 4941f0c commit dc30a68d5de9a04e8dea81cfed119566d7160c72
Showing with 1 addition and 1 deletion.
  1. +1 −1 inc/bgcolor.php
@@ -16,7 +16,7 @@
}
// User has defined their own color
if ($background == 7 || $background == 8) {
if (isset($background) && $background == 7 || $background == 8) {
$tmp=explode(',',str_replace(array('hsv(',')'),array('',''),$backgroundColor));
$h = trim($tmp[0]);

0 comments on commit dc30a68

Please sign in to comment.
You can’t perform that action at this time.