diff --git a/materio_flag.module b/materio_flag.module index 3680bc5f..c6c74dc0 100644 --- a/materio_flag.module +++ b/materio_flag.module @@ -107,7 +107,7 @@ function materio_flag_menu() { } function materio_access_ajax_flags(){ - return ( user_access('create flag lists') || user_access('flag bookmarks') ); + return user_access('create flag lists') || user_access('flag bookmarks'); } /** diff --git a/materio_flag.pages.inc b/materio_flag.pages.inc index 901ada28..e9f4057b 100644 --- a/materio_flag.pages.inc +++ b/materio_flag.pages.inc @@ -422,7 +422,7 @@ function materio_flag_ajax_list($fid, $page = 0){ $debug = false; $_GET['page'] = $page; - if($fid = 1){ + if($fid == 1){ $list_path = $path = 'bookmarks'; }else{ $list_path = 'lists';