Selaa lähdekoodia

Working on bug with organism stock browser

spficklin 12 vuotta sitten
vanhempi
commit
75cc8f3aa1
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  1. 1 1
      tripal_stock/tripal_stock.module

+ 1 - 1
tripal_stock/tripal_stock.module

@@ -1072,7 +1072,7 @@ function tripal_stock_preprocess_tripal_organism_stocks(&$variables) {
   
   // get the pager and reformat so it shows the right block
   $pager = theme('pager');  
-  $pager = preg_replace('/?page=/',"?block=stock-browser&page=", $pager);
+  $pager = preg_replace('/\?page\=/',"?block=stock-browser&page=", $pager);
 
   // prepare the query that will lookup node ids
   $sql = "SELECT nid FROM {chado_stock} ".