projects
/
Pman.Core
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b0b34e8
)
UpdateDatabase.php
author
Alan Knowles
<alan@roojs.com>
Tue, 27 May 2014 05:58:52 +0000
(13:58 +0800)
committer
Alan Knowles
<alan@roojs.com>
Tue, 27 May 2014 05:58:52 +0000
(13:58 +0800)
UpdateDatabase.php
patch
|
blob
|
history
diff --git
a/UpdateDatabase.php
b/UpdateDatabase.php
index
c359c68
..
36c3453
100644
(file)
--- a/
UpdateDatabase.php
+++ b/
UpdateDatabase.php
@@
-682,7
+682,7
@@
class Pman_Core_UpdateDatabase extends Pman
$c->query("
UPDATE Companies
SET
- comptype_id = (SELECT id FROM core_enum where etype='comptype' and name=Companies.comptype)
+ comptype_id = (SELECT id FROM core_enum where etype='comptype' and name=Companies.comptype
LIMIT 1
)
WHERE
comptype_id = 0
AND