Sfoglia il codice sorgente

bug fix

Signed-off-by: bachy <git@g-u-i.net>
bachy 12 anni fa
parent
commit
763ce99b95
2 ha cambiato i file con 2 aggiunte e 2 eliminazioni
  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';