Module: nagvis Branch: master Commit: bf9f8903b54207c4976fc35b1da8afc20ee1f11c URL: http://nagvis.git.sourceforge.net/git/gitweb.cgi?p=nagvis/nagvis;a=commit;h=bf9f8903b54207c4976fc35b1da8afc20ee1f11c
Author: LaMi <[email protected]> Date: Sat Feb 13 16:05:13 2010 +0100 Fixed clone function --- share/server/core/classes/WuiViewMapAddModify.php | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/share/server/core/classes/WuiViewMapAddModify.php b/share/server/core/classes/WuiViewMapAddModify.php index 386f606..63ebfec 100644 --- a/share/server/core/classes/WuiViewMapAddModify.php +++ b/share/server/core/classes/WuiViewMapAddModify.php @@ -120,7 +120,7 @@ class WuiViewMapAddModify { break; case 'add': - if($this->aOpts['clone'] !== '') { + if(isset($this->aOpts['clone']) && $this->aOpts['clone'] != '') { // Get the options of the object to clone from map foreach($this->MAPCFG->getValidTypeKeys($this->aOpts['type']) as $i => $key) { if($key !== 'x' && $key !== 'y' && $key !== 'y' && $key !== 'object_id') { ------------------------------------------------------------------------------ SOLARIS 10 is the OS for Data Centers - provides features such as DTrace, Predictive Self Healing and Award Winning ZFS. Get Solaris 10 NOW http://p.sf.net/sfu/solaris-dev2dev _______________________________________________ Nagvis-checkins mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/nagvis-checkins
