Kaynağa Gözat

N.757 Server log filled with warnings (ContextTag::Check)

git-svn-id: http://svn.code.sf.net/p/itop/code/trunk@4573 a333f486-631f-4898-b8df-5754b55c2be0
romainq 8 yıl önce
ebeveyn
işleme
e684cb7a43
1 değiştirilmiş dosya ile 3 ekleme ve 3 silme
  1. 3 3
      core/contexttag.class.inc.php

+ 3 - 3
core/contexttag.class.inc.php

@@ -1,5 +1,5 @@
 <?php
-// Copyright (C) 2016 Combodo SARL
+// Copyright (C) 2016-2017 Combodo SARL
 //
 //   This file is part of iTop.
 //
@@ -29,13 +29,13 @@
  * 
  * if (ContextTag::Check('GUI:Portal'))
  *
- * @copyright   Copyright (C) 2016 Combodo SARL
+ * @copyright   Copyright (C) 2016-2017 Combodo SARL
  * @license     http://opensource.org/licenses/AGPL-3.0
  */
 
 class ContextTag
 {
-	protected static $aStack;
+	protected static $aStack = array();
 	
 	/**
 	 * Store a context tag on the stack