diff options
author | nicosomb <nicolas@loeuillet.org> | 2013-04-12 13:13:21 +0200 |
---|---|---|
committer | nicosomb <nicolas@loeuillet.org> | 2013-04-12 13:13:21 +0200 |
commit | c8bbe19b3fd2ba268c98561690de37fe599ff055 (patch) | |
tree | cb6d9c7c6c1bc973f3569b85a6694cb4d5059d10 /view.php | |
parent | 67e7910439d364f1f7a4dac1d233a7c1055fb933 (diff) | |
download | wallabag-c8bbe19b3fd2ba268c98561690de37fe599ff055.tar.gz wallabag-c8bbe19b3fd2ba268c98561690de37fe599ff055.tar.zst wallabag-c8bbe19b3fd2ba268c98561690de37fe599ff055.zip |
possibilité de mettre en fav ou en archive un article depuis la page article
Diffstat (limited to 'view.php')
-rwxr-xr-x | view.php | 10 |
1 files changed, 9 insertions, 1 deletions
@@ -31,5 +31,13 @@ if(isset($_GET['id']) && $_GET['id'] != '') { | |||
31 | die('query error : '.$e->getMessage()); | 31 | die('query error : '.$e->getMessage()); |
32 | } | 32 | } |
33 | 33 | ||
34 | generate_page($entry[0]['url'], $entry[0]['title'], $entry[0]['content']); | 34 | if ($entry != NULL) { |
35 | generate_page($entry[0]); | ||
36 | } | ||
37 | else { | ||
38 | die('error in view call'); | ||
39 | } | ||
40 | } | ||
41 | else { | ||
42 | die('error in view call'); | ||
35 | } \ No newline at end of file | 43 | } \ No newline at end of file |