Closed deltamualpha closed 10 years ago
Dead simple. Silences the "PHP Warning: in_array() expects parameter 2 to be array, null given" that this plugin was writing to my logs on every pageload by checking if $enabled exists before trying to use it.
Dead simple. Silences the "PHP Warning: in_array() expects parameter 2 to be array, null given" that this plugin was writing to my logs on every pageload by checking if $enabled exists before trying to use it.