瀏覽代碼

Working on bug with organism stock browser

spficklin 12 年之前
父節點
當前提交
75cc8f3aa1
共有 1 個文件被更改,包括 1 次插入1 次删除
  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} ".