Plugin Directory

Changeset 1234878


Ignore:
Timestamp:
08/31/2015 07:37:09 PM (11 years ago)
Author:
ClickSold
Message:

cs-pkg-deploy.pl comitting clicksold vers (1.70) - Mon Aug 31 13:37:07 2015

File:
1 edited

Legend:

Unmodified
Added
Removed
  • clicksold-wordpress-plugin/trunk/widgets.php

    r1234775 r1234878  
    18321832            // The format of this is exclusive-<list num>-<some other value according to whatever they configured in their query stings format>
    18331833            // eg: exclusive-12508988-123_-_Main_St*Edmonton
    1834             if(preg_match("/^exclusive-([^-]*)-.*$/", $wp_query->query['mlsnum'], $matches)) {
     1834            if(preg_match("/^exclusive-([^-]*)-?.*$/", $wp_query->query['mlsnum'], $matches)) {
    18351835                $listnum = $matches[1];
    18361836            }
     
    18401840            // The format of this is <mls num>-<some other value according to whatever they configured in their query stings format>
    18411841            // eg: E308988-123_-_Main_St*Edmonton
    1842             if(preg_match("/^([^-]*)-.*$/", $wp_query->query['mlsnum'], $matches)) {
     1842            if(preg_match("/^([^-]*)-?.*$/", $wp_query->query['mlsnum'], $matches)) {
    18431843                $mlsnum = $matches[1];
    18441844            }
Note: See TracChangeset for help on using the changeset viewer.