correct book cookie

This commit is contained in:
Andrey Kuvshinov
2020-05-15 22:03:09 +03:00
parent f23c2ec777
commit a81f912d88

View File

@@ -138,9 +138,10 @@ function bookmark_get($hash){
$bookcook = 'book_'.$hash; $bookcook = 'book_'.$hash;
if (isset($_COOKIE[$bookcook])) if (isset($_COOKIE[$bookcook])){
echo $_COOKIE[$bookcook]; echo $_COOKIE[$bookcook];
return $_COOKIE[$bookcook]; return $_COOKIE[$bookcook];
}
else else
return false; return false;