projects
/
Pman.Core
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
db2ab9b
)
DataObjects/Core_templatestr.php
author
leon
<leon@roojs.com>
Wed, 2 Aug 2023 09:20:01 +0000
(17:20 +0800)
committer
leon
<leon@roojs.com>
Wed, 2 Aug 2023 09:20:01 +0000
(17:20 +0800)
DataObjects/Core_templatestr.php
patch
|
blob
|
history
diff --git
a/DataObjects/Core_templatestr.php
b/DataObjects/Core_templatestr.php
index
3e2d212
..
edbac39
100644
(file)
--- a/
DataObjects/Core_templatestr.php
+++ b/
DataObjects/Core_templatestr.php
@@
-149,6
+149,10
@@
class Pman_Core_DataObjects_Core_templatestr extends DB_DataObject
if(count($active)) {
$t = DB_DataObject::factory($this->tableName());
+ $t->query("UPDATE core_templatestr
+ SET active = 1 WHERE id in (" . implode(',' ,$active) . ")
+ ");
+
$t->query("UPDATE core_templatestr
SET active = 1
WHERE