WordPress.org

Plugin Directory

Changeset 532242 for feedwordpress


Ignore:
Timestamp:
04/17/12 11:39:11 (5 years ago)
Author:
radgeek
Message:

Bugfix: yeah so this is why I hate PHP sometimes. Properly search for use of previous params in URL.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • feedwordpress/trunk/syndicatedlink.class.php

    r532240 r532242  
    626626                 
    627627                // Are we appending to a URI that already has params? 
    628                 $sep = ((strpos('?', $uri)===false) ? '?' : '&'); 
     628                $sep = ((strpos($uri, "?")===false) ? '?' : '&'); 
    629629                 
    630630                // Tack it on 
    631631                $uri .= $sep . implode("&", $q); 
    632             endif; 
     632            endif;           
    633633        endif; 
    634634         
Note: See TracChangeset for help on using the changeset viewer.