diff options
| author | clsr <marko@cefer.in> | 2014-10-16 17:26:58 +0200 |
|---|---|---|
| committer | czaks <marcin@6irc.net> | 2014-10-18 13:43:25 +0200 |
| commit | 49079e57fb52fd694f0fc173778270e1f0e7a433 (patch) | |
| tree | 050b015ad28eec373827ca09f5829c9fef982971 /inc | |
| parent | d266908ca92c003ca81de899b0ae7d8cd9d948a4 (diff) | |
Fix expanded tabs
Diffstat (limited to 'inc')
| -rw-r--r-- | inc/api.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/inc/api.php b/inc/api.php index 600b1096..c9608f06 100644 --- a/inc/api.php +++ b/inc/api.php @@ -64,8 +64,8 @@ class Api { 'fsize' => 1, 'omitted_posts' => 1, 'omitted_images' => 1, - 'replies' => 1, - 'images' => 1, + 'replies' => 1, + 'images' => 1, 'sticky' => 1, 'locked' => 1, 'last_modified' => 1 @@ -109,7 +109,7 @@ class Api { if (isset($post->files) && $post->files && !$threadsPage) { $file = $post->files[0]; $this->translateFields($this->fileFields, $file, $apiPost); - $apiPost['filename'] = substr($file->name, 0, strrpos($file->name, '.')); + $apiPost['filename'] = substr($file->name, 0, strrpos($file->name, '.')); $dotPos = strrpos($file->file, '.'); $apiPost['ext'] = substr($file->file, $dotPos); $apiPost['tim'] = substr($file->file, 0, $dotPos); |
