projects
/
Pman.Core
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5e49185
)
UpdateDatabase.php
author
Alan Knowles
<alan@roojs.com>
Wed, 14 Aug 2013 11:31:43 +0000
(19:31 +0800)
committer
Alan Knowles
<alan@roojs.com>
Wed, 14 Aug 2013 11:31:43 +0000
(19:31 +0800)
UpdateDatabase.php
patch
|
blob
|
history
diff --git
a/UpdateDatabase.php
b/UpdateDatabase.php
index
ed558cf
..
c3b7555
100644
(file)
--- a/
UpdateDatabase.php
+++ b/
UpdateDatabase.php
@@
-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
");