UpdateDatabase.php
authorAlan Knowles <alan@roojs.com>
Wed, 14 Aug 2013 11:31:43 +0000 (19:31 +0800)
committerAlan Knowles <alan@roojs.com>
Wed, 14 Aug 2013 11:31:43 +0000 (19:31 +0800)
UpdateDatabase.php

index ed558cf..c3b7555 100644 (file)
@@ -412,6 +412,8 @@ class Pman_Core_UpdateDatabase extends Pman
                     comptype_id = (SELECT id FROM core_enum where etype='comptype' and name=Companies.comptype)
                 WHERE
                     comptype_id = 0
+                    AND
+                    LENGTH(comptype) > 0
                   
                   
                   ");