Author: Lars Michelsen <[email protected]>
Date: Sat Mar 5 12:11:51 2011 +0100
Committer: Lars Michelsen <[email protected]>
Commit-Date: Sat Mar 5 12:11:51 2011 +0100
Fixed object deletion validation code
---
TODO | 1 -
share/server/core/classes/CoreModMap.php | 2 +-
2 files changed, 1 insertions(+), 2 deletions(-)
diff --git a/TODO b/TODO
index 13aac5a..c0e72c1 100644
--- a/TODO
+++ b/TODO
@@ -19,7 +19,6 @@ Neue Idee:
Relative Koordinaten:
- Beim Löschen von Objekten prüfen, ob andere Objekte auf dieses Objekt
verweisen
- Wie funktionieren Linien zu Linien Referenzen? Geht das überhaupt?
- - Wie von relativen zu absoluten Koordinaten umschalten?
Linien (Auch für neue Automap wichtig!):
- Pfeilspitzen konfigurierbar machen
diff --git a/share/server/core/classes/CoreModMap.php
b/share/server/core/classes/CoreModMap.php
index 199db49..eccd9d2 100644
--- a/share/server/core/classes/CoreModMap.php
+++ b/share/server/core/classes/CoreModMap.php
@@ -618,7 +618,7 @@ class CoreModMap extends CoreModule {
$bValid = false;
if($bValid && !$FHANDLER->match('type', MATCH_OBJECTTYPE))
$bValid = false;
- if($bValid && !$FHANDLER->match('id', MATCH_INTEGER))
+ if($bValid && !$FHANDLER->match('id', MATCH_OBJECTID))
$bValid = false;
// Check if the map exists
------------------------------------------------------------------------------
What You Don't Know About Data Connectivity CAN Hurt You
This paper provides an overview of data connectivity, details
its effect on application quality, and explores various alternative
solutions. http://p.sf.net/sfu/progress-d2d
_______________________________________________
Nagvis-checkins mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/nagvis-checkins