mirror of
https://github.com/pi-hole/web.git
synced 2024-12-06 19:36:21 +01:00
Silence two PHP warnings
This commit is contained in:
@@ -11,7 +11,7 @@ function validIP($address){
|
||||
|
||||
// Check for existance of variable
|
||||
// and test it only if it exists
|
||||
function istrue($argument) {
|
||||
function istrue(&$argument) {
|
||||
$ret = false;
|
||||
if(isset($argument))
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user