Bläddra i källkod

DBG fix warning for reqKey = true

Piotr Labudda 10 år sedan
förälder
incheckning
4cd99c7684
1 ändrade filer med 1 tillägg och 1 borttagningar
  1. 1 1
      SE/se-lib/DBG.php

+ 1 - 1
SE/se-lib/DBG.php

@@ -19,7 +19,7 @@ class DBG {
 	 */
 	public static function _($reqKey, $reqValueExpr, $label, $variable, $className, $functionName, $lineNumber, $borderColor = 'red') {
 		$showDBG = false;
-		$reqValue = V::get($reqKey, '', $_GET);
+		$reqValue = (true === $reqKey || !$reqKey)? '' : V::get($reqKey, '', $_GET);
 		if (true === $reqKey) {
 			$showDBG = true;
 		}