aboutsummaryrefslogtreecommitdiffhomepage
path: root/view.php
diff options
context:
space:
mode:
authornicosomb <nicolas@loeuillet.org>2013-04-12 13:13:21 +0200
committernicosomb <nicolas@loeuillet.org>2013-04-12 13:13:21 +0200
commitc8bbe19b3fd2ba268c98561690de37fe599ff055 (patch)
treecb6d9c7c6c1bc973f3569b85a6694cb4d5059d10 /view.php
parent67e7910439d364f1f7a4dac1d233a7c1055fb933 (diff)
downloadwallabag-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-xview.php10
1 files changed, 9 insertions, 1 deletions
diff --git a/view.php b/view.php
index aba1b7ec..75e6c3a9 100755
--- a/view.php
+++ b/view.php
@@ -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}
41else {
42 die('error in view call');
35} \ No newline at end of file 43} \ No newline at end of file