aboutsummaryrefslogtreecommitdiff
path: root/app/views/entry/bookmark.phtml
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/entry/bookmark.phtml')
-rwxr-xr-xapp/views/entry/bookmark.phtml2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/entry/bookmark.phtml b/app/views/entry/bookmark.phtml
index 55b2d3d3d..c1fc32b7f 100755
--- a/app/views/entry/bookmark.phtml
+++ b/app/views/entry/bookmark.phtml
@@ -1,7 +1,7 @@
<?php
header('Content-Type: application/json; charset=UTF-8');
-if (Minz_Request::param ('is_favorite')) {
+if (Minz_Request::param ('is_favorite', true)) {
Minz_Request::_param ('is_favorite', 0);
} else {
Minz_Request::_param ('is_favorite', 1);