diff options
| author | Michael Foster <savetheinternet@tinyboard.org> | 2013-08-12 21:08:40 +1000 |
|---|---|---|
| committer | Michael Foster <savetheinternet@tinyboard.org> | 2013-08-12 21:08:40 +1000 |
| commit | 169c68e86221f15b85a34e09ff4c75d4feb6d983 (patch) | |
| tree | 9d1339d817f5a2680b1bb0578c621606cffb27dd /inc/display.php | |
| parent | 5ba5c0973e3f1fb580b4ab6d093e4c183eacf976 (diff) | |
use single quotes
Diffstat (limited to 'inc/display.php')
| -rw-r--r-- | inc/display.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/inc/display.php b/inc/display.php index c9f39731..af0ee89f 100644 --- a/inc/display.php +++ b/inc/display.php @@ -346,7 +346,7 @@ class Post { $built .= ' ' . secure_link_confirm($config['mod']['link_deletefile'], _('Delete file'), _('Are you sure you want to delete this file?'), $board['dir'] . 'deletefile/' . $this->id); // Spoiler file (keep post) - if (!empty($this->file) && $this->file != "deleted" && $this->file != null && $this->thumb != 'spoiler' && hasPermission($config['mod']['spoilerimage'], $board['uri'], $this->mod) && $config['spoiler_images']) + if (!empty($this->file) && $this->file != 'deleted' && $this->thumb != 'spoiler' && hasPermission($config['mod']['spoilerimage'], $board['uri'], $this->mod) && $config['spoiler_images']) $built .= ' ' . secure_link_confirm($config['mod']['link_spoilerimage'], 'Spoiler File', 'Are you sure you want to spoiler this file?', $board['uri'] . '/spoiler/' . $this->id); // Edit post @@ -451,7 +451,7 @@ class Thread { $built .= ' ' . secure_link_confirm($config['mod']['link_deletefile'], _('Delete file'), _('Are you sure you want to delete this file?'), $board['dir'] . 'deletefile/' . $this->id); // Spoiler file (keep post) - if (!empty($this->file) && $this->file != "deleted" && $this->file != null && $this->thumb != 'spoiler' && hasPermission($config['mod']['spoilerimage'], $board['uri'], $this->mod) && $config['spoiler_images']) + if (!empty($this->file) && $this->file != 'deleted' && $this->thumb != 'spoiler' && hasPermission($config['mod']['spoilerimage'], $board['uri'], $this->mod) && $config['spoiler_images']) $built .= ' ' . secure_link_confirm($config['mod']['link_spoilerimage'], 'Spoiler File', 'Are you sure you want to spoiler this file?', $board['uri'] . '/spoiler/' . $this->id); // Sticky |
