diff options
| author | czaks <marcin@6irc.net> | 2014-09-24 12:26:15 +0200 |
|---|---|---|
| committer | czaks <marcin@6irc.net> | 2014-09-24 12:26:15 +0200 |
| commit | 3b2f4481029ba3e98d1da79f5fe1cba08ef7f8ac (patch) | |
| tree | c9c9ac0a572044b322eb9d324de20972213928c7 /inc/lib/webm/posthandler.php | |
| parent | b2d574fec38ecd9220625b40ff811e78ef17e574 (diff) | |
restore compatibility with php < 5.5; fixes vichan-devel#86
Diffstat (limited to 'inc/lib/webm/posthandler.php')
| -rw-r--r-- | inc/lib/webm/posthandler.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/inc/lib/webm/posthandler.php b/inc/lib/webm/posthandler.php index 308c7507..a5b7429b 100644 --- a/inc/lib/webm/posthandler.php +++ b/inc/lib/webm/posthandler.php @@ -21,7 +21,7 @@ function postHandler($post) { $file = set_thumbnail_dimensions($post, $file); $tn_path = $board['dir'] . $config['dir']['thumb'] . $file->file_id . '.jpg'; - if(empty(make_webm_thumbnail($file->file_path, $tn_path, $file->thumbwidth, $file->thumbheight))) { + if(false == make_webm_thumbnail($file->file_path, $tn_path, $file->thumbwidth, $file->thumbheight)) { $file->thumb = $file->file_id . '.jpg'; } else { |
