/[drupal]/contributions/modules/serapi/serapi.module
ViewVC logotype

Diff of /contributions/modules/serapi/serapi.module

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph | View Patch Patch

revision 1.9, Sat Aug 15 20:31:38 2009 UTC revision 1.10, Wed Nov 4 22:32:30 2009 UTC
# Line 1  Line 1 
1  <?php  <?php
2  // $Id: serapi.module,v 1.8 2009/07/18 23:19:36 yaph Exp $  // $Id: serapi.module,v 1.9 2009/08/15 20:31:38 yaph Exp $
3    
4  /**  /**
5   * Returns an array with information on the performed search   * Returns an array with information on the performed search
# Line 7  Line 7 
7   */   */
8  function serapi_get_search($referer = '') {  function serapi_get_search($referer = '') {
9    if (!$referer) {    if (!$referer) {
10        if (!isset($_SERVER['HTTP_REFERER'])) {
11          return false;
12        }
13      $referer = $_SERVER['HTTP_REFERER'];      $referer = $_SERVER['HTTP_REFERER'];
14    }    }
15    

Legend:
Removed from v.1.9  
changed lines
  Added in v.1.10

  ViewVC Help
Powered by ViewVC 1.1.2