Diff for Metafox/admin/inc-db/triggers/word-count.trigger between version 1.3 and 1.4
| version 1.3, 2013/02/25 15:30:29 |
version 1.4, 2024/11/20 15:48:03 |
| Line 13 foreach (array('section_id', 'article_id |
|
| Line 13 foreach (array('section_id', 'article_id |
|
| if (strlen($newvals[$col]) <= 0) { |
if (strlen($newvals[$col]) <= 0) { |
| unset($newvals[$col]); |
unset($newvals[$col]); |
| } |
} |
| |
if (isset($newvals[$type.'_wordcount'])) { |
| |
$newvals[$type.'_wordcount']=intval($newvals[$type.'_wordcount']); |
| |
} |
| } |
} |
| |
|
| return true; |
return true; |
Platon Group <platon@platon.org> http://platon.org/
|
|