Explorar o código

bug fix

Signed-off-by: bachy <git@g-u-i.net>
bachy %!s(int64=12) %!d(string=hai) anos
pai
achega
763ce99b95
Modificáronse 2 ficheiros con 2 adicións e 2 borrados
  1. 1 1
      materio_flag.module
  2. 1 1
      materio_flag.pages.inc

+ 1 - 1
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');
 }
 
 /**

+ 1 - 1
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';