Changeset 3122816
- Timestamp:
- 07/21/2024 07:08:06 PM (20 months ago)
- Location:
- petmatchpro/trunk
- Files:
-
- 2 edited
-
includes/af/class-pet-match-pro-af-api.php (modified) (1 diff)
-
pet-match-pro.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
petmatchpro/trunk/includes/af/class-pet-match-pro-af-api.php
r3122590 r3122816 898 898 } 899 899 900 if (array_key_exists(constant('ANIMALSFIRST_LOCATION'), $resultArray)) { 901 if (strlen(trim($resultArray[constant('ANIMALSFIRST_LOCATION')])) == 0 ) { 902 $resultArray[constant('ANIMALSFIRST_LOCATION')] = constant('EMPTY_VALUE'); 903 } 904 } else { 905 $resultArray[constant('ANIMALSFIRST_LOCATION')] = constant('EMPTY_VALUE'); 906 } 907 900 908 /* Process Search Results */ 901 909 $DetailsOutput = []; 902 910 //echo 'Processing Results for Animal ' . $resultArray[constant('ANIMALSFIRST_ID')] . ' with Name ' . $animalName . ' at Location ' . $resultArray[constant('ANIMALSFIRST_LOCATION')] . '.<br>'; 911 //echo '<pre>LOCATION EXCLUSIONS<br>'; print_r($this->locationExclusionArray); echo '</pre>'; 903 912 if ( (!array_key_exists(constant('ERROR'), $searchResultDetails)) && (!array_key_exists($resultArray[constant('ANIMALSFIRST_LOCATION')],$this->locationExclusionArray)) ) { 904 913 foreach ($resultArray as $animalKey => $animalKeyValue) { -
petmatchpro/trunk/pet-match-pro.php
r3122590 r3122816 108 108 define('ANIMALSFIRST_FEATURED', 'featured'); 109 109 define('ANIMALSFIRST_ID', 'id'); 110 define('ANIMALSFIRST_LOCATION', 'location name');110 define('ANIMALSFIRST_LOCATION', 'location'); 111 111 define('ANIMALSFIRST_MEDIA', 'all_photos, youtube_links'); 112 112 define('ANIMALSFIRST_MICROCHIP', 'microchip');
Note: See TracChangeset
for help on using the changeset viewer.