Changeset 12022


Ignore:
Timestamp:
08/31/11 22:30:35 (8 years ago)
Author:
plg
Message:

bug 2421 fixed: no more warning on comments.php when $_SERVERQUERY_STRING is not defined

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2.2/include/functions.inc.php

    r11160 r12022  
    656656function get_query_string_diff($rejects=array(), $escape=true) 
    657657{ 
     658  if (empty($_SERVER['QUERY_STRING'])) 
     659  { 
     660    return ''; 
     661  } 
     662   
    658663  $query_string = ''; 
    659664 
Note: See TracChangeset for help on using the changeset viewer.