[233305]
diff --git a/classes/file/file.class.php b/classes/file/file.class.php
index 7a4cd08..fe2924f 100755
--- a/classes/file/file.class.php
+++ b/classes/file/file.class.php
@@ -66,7 +66,7 @@
 	
 	function getFileID($_name, $_project_id, $_version) {
 		$rValue = 0;
-		if($this->name != "" && $this->project_id != "" && $_version > 0) {
+		if($this->name != "" && $this->project_id != "" && $_version != "") {
 			global $App, $dbh;
 
 			$sql = "SELECT file_id