[248845] Refactoring generate1.php into different files with a functional approach
more bugfixing
diff --git a/classes/system/fragment.class.php b/classes/system/fragment.class.php
index 70a402d..ef58366 100644
--- a/classes/system/fragment.class.php
+++ b/classes/system/fragment.class.php
@@ -157,7 +157,7 @@
 	}
 	
 	function fragment_id() {
-		return $this->plugin_id .".nl_". $language->iso;
+		return $this->plugin_id .".nl_". $this->language->iso;
 	}
 	
 	function associated_projects() {