Changeset 1234878
- Timestamp:
- 08/31/2015 07:37:09 PM (11 years ago)
- File:
-
- 1 edited
-
clicksold-wordpress-plugin/trunk/widgets.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
clicksold-wordpress-plugin/trunk/widgets.php
r1234775 r1234878 1832 1832 // The format of this is exclusive-<list num>-<some other value according to whatever they configured in their query stings format> 1833 1833 // 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)) { 1835 1835 $listnum = $matches[1]; 1836 1836 } … … 1840 1840 // The format of this is <mls num>-<some other value according to whatever they configured in their query stings format> 1841 1841 // eg: E308988-123_-_Main_St*Edmonton 1842 if(preg_match("/^([^-]*)- .*$/", $wp_query->query['mlsnum'], $matches)) {1842 if(preg_match("/^([^-]*)-?.*$/", $wp_query->query['mlsnum'], $matches)) { 1843 1843 $mlsnum = $matches[1]; 1844 1844 }
Note: See TracChangeset
for help on using the changeset viewer.