|
|
@ -9,7 +9,7 @@ class Article extends Handler_Protected {
|
|
|
|
->table_alias('e')
|
|
|
|
->table_alias('e')
|
|
|
|
->join('ttrss_user_entries', [ 'ref_id', '=', 'e.id'], 'ue')
|
|
|
|
->join('ttrss_user_entries', [ 'ref_id', '=', 'e.id'], 'ue')
|
|
|
|
->where('ue.owner_uid', $_SESSION['uid'])
|
|
|
|
->where('ue.owner_uid', $_SESSION['uid'])
|
|
|
|
->find_one($_REQUEST['id']);
|
|
|
|
->find_one((int)$_REQUEST['id']);
|
|
|
|
|
|
|
|
|
|
|
|
if ($article) {
|
|
|
|
if ($article) {
|
|
|
|
$article_url = UrlHelper::validate($article->link);
|
|
|
|
$article_url = UrlHelper::validate($article->link);
|
|
|
|