diff --git a/actions/apiqvitteroembednotice.php b/actions/apiqvitteroembednotice.php index 15f0c85..92de1cf 100644 --- a/actions/apiqvitteroembednotice.php +++ b/actions/apiqvitteroembednotice.php @@ -127,7 +127,7 @@ class ApiQvitterOembedNoticeAction extends ApiAction } catch (ServerException $e) { // } - if(method_exists('File_thumbnail','url')) { + if(!empty($thumb) && method_exists('File_thumbnail','url')) { try { $thumb_url = File_thumbnail::url($thumb->filename); $oembed['thumbnail_url'] = $thumb_url; diff --git a/actions/qvitter.php b/actions/qvitter.php index ff5334b..5eb6b15 100644 --- a/actions/qvitter.php +++ b/actions/qvitter.php @@ -446,8 +446,6 @@ class QvitterAction extends ApiAction } ?> - -
  • diff --git a/locale/fa.json b/locale/fa.json index 5c0578c..58bae9b 100644 --- a/locale/fa.json +++ b/locale/fa.json @@ -1,5 +1,4 @@ -, -"addEditLanguageLink":"Help translate {site-title} to your language"{ +{ "directionality":"rtl", "languageName": "فارسی", "loginUsername": "شناسه یا ایمیل",