|
@@ -176,10 +176,10 @@ |
|
|
block discarded – undo |
|
176
|
176
|
break;
|
|
177
|
177
|
}
|
|
178
|
178
|
$ret['content_shorttext'] = Utility::truncateHtml($content_text);
|
|
179
|
|
- $ret['autoupdate'] = (int)$this->getVar('dir_autoupdate') > 0 ? _YES : _NO;
|
|
180
|
|
- $ret['online'] = (int)$this->getVar('dir_online') > 0 ? _YES : _NO;
|
|
181
|
|
- $ret['filterrelease'] = (int)$this->getVar('dir_filterrelease') > 0 ? _YES : _NO;
|
|
182
|
|
- $ret['weight'] = (int)$this->getVar('dir_weight');
|
|
|
179
|
+ $ret['autoupdate'] = (int) $this->getVar('dir_autoupdate') > 0 ? _YES : _NO;
|
|
|
180
|
+ $ret['online'] = (int) $this->getVar('dir_online') > 0 ? _YES : _NO;
|
|
|
181
|
+ $ret['filterrelease'] = (int) $this->getVar('dir_filterrelease') > 0 ? _YES : _NO;
|
|
|
182
|
+ $ret['weight'] = (int) $this->getVar('dir_weight');
|
|
183
|
183
|
$ret['datecreated'] = \formatTimestamp($this->getVar('dir_datecreated'), 's');
|
|
184
|
184
|
$ret['submitter'] = \XoopsUser::getUnameFromId($this->getVar('dir_submitter'));
|
|
185
|
185
|
return $ret;
|
Please login to merge, or discard this patch.