summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 5629485)
raw | patch | inline | side by side (parent: 5629485)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Fri, 16 Mar 2007 08:33:29 +0000 (08:33 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Fri, 16 Mar 2007 08:33:29 +0000 (08:33 +0000) |
fixed warning
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@5793 594d385d-05f5-0310-b6e9-bd551577e9d8
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@5793 594d385d-05f5-0310-b6e9-bd551577e9d8
include/sieve/class_My_Tree.inc | patch | blob | history | |
include/sieve/class_semantics.inc | patch | blob | history |
index 369d26c3e0c4a40550a6d50ba066f148c299983f..0dd19a21eab158856cb90dc5615415054f0ff403 100644 (file)
var $mode_stack = array();
var $pap = array();
- var $add_new = FALSE;
- var $add_new_id = 0;
- var $add_type = "top";
- var $add_element_type = "";
-
function execute()
{
return($this->dump());
*/
function dump()
{
- error_reporting(E_ALL);
-
/**************
* Handle new elements
**************/
index 6fa7c4b7d29ee49b5ac263acf3cb66057a68c99f..da6f6998b5eb57b4ec00ef393114e0adcfd71885 100644 (file)
function validToken($class, &$text, &$line)
{
+ global $requires_;
+
+ if(!is_array($requires_)){
+ $requires_ = array();
+ }
+
$name = $class . ($class != $text ? " $text" : '');
// Check if the command needs to be required
// TODO: move this to somewhere more appropriate
- global $requires_;
if (isset($this->s_['requires']) &&
!in_array('"'.$this->s_['requires'].'"', $requires_))
{