Module: nagvis Branch: master Commit: 8c66e4b38dc99d2d6c26102bbf99e6e9b1f27fe8 URL: http://nagvis.git.sourceforge.net/git/gitweb.cgi?p=nagvis/nagvis;a=commit;h=8c66e4b38dc99d2d6c26102bbf99e6e9b1f27fe8
Author: LaMi <[email protected]> Date: Wed Mar 24 22:54:05 2010 +0100 Fixed syntax errors - should have tested my latest changes ... --- share/server/core/classes/objects/NagVisShape.php | 8 ++++---- 1 files changed, 4 insertions(+), 4 deletions(-) diff --git a/share/server/core/classes/objects/NagVisShape.php b/share/server/core/classes/objects/NagVisShape.php index 411075d..d836f00 100644 --- a/share/server/core/classes/objects/NagVisShape.php +++ b/share/server/core/classes/objects/NagVisShape.php @@ -37,9 +37,9 @@ class NagVisShape extends NagVisStatelessObject { * @author Lars Michelsen <[email protected]> */ public function __construct($CORE, $icon) { - if(parent::iconPath === null) { - parent::iconPath = $CORE->getMainCfg()->getValue('paths', 'shape'); - parent::iconHtmlPath = $CORE->getMainCfg()->getValue('paths', 'htmlshape'); + if(parent::$iconPath === null) { + parent::$iconPath = $CORE->getMainCfg()->getValue('paths', 'shape'); + parent::$iconHtmlPath = $CORE->getMainCfg()->getValue('paths', 'htmlshape'); } $this->icon = $icon; @@ -103,7 +103,7 @@ class NagVisShape extends NagVisStatelessObject { if(preg_match('/^\[(.*)\]$/', $this->icon, $match) > 0) { $this->icon = $match[1]; } else { - $this->icon = parent::iconHtmlPath . $this->icon; + $this->icon = parent::$iconHtmlPath . $this->icon; } } } ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Nagvis-checkins mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/nagvis-checkins
