| @@ -133,11 +133,11 @@ | ||
| 133 | 133 | |
| 134 | 134 | if ($path !== '') { |
| 135 | 135 | $bases = [ |
| 136 | 136 | $tripBase, |
| 137 | - preg_replace('/[^a-zA-Z0-9_-]/', '', (string) \Yatra\Services\SettingsService::getString('destination_base', 'destination')), | |
| 138 | - preg_replace('/[^a-zA-Z0-9_-]/', '', (string) \Yatra\Services\SettingsService::getString('activity_base', 'activity')), | |
| 139 | - preg_replace('/[^a-zA-Z0-9_-]/', '', (string) \Yatra\Services\SettingsService::getString('trip_category_base', 'trip-category')), | |
| 137 | + preg_replace('/[^a-zA-Z0-9_-]/', '', (string) \Yatra\Services\SettingsService::getDestinationBase()), | |
| 138 | + preg_replace('/[^a-zA-Z0-9_-]/', '', (string) \Yatra\Services\SettingsService::getActivityBase()), | |
| 139 | + preg_replace('/[^a-zA-Z0-9_-]/', '', (string) \Yatra\Services\SettingsService::getTripCategoryBase()), | |
| 140 | 140 | preg_replace('/[^a-zA-Z0-9_-]/', '', (string) \Yatra\Services\SettingsService::getBookingBase()), |
| 141 | 141 | preg_replace('/[^a-zA-Z0-9_-]/', '', (string) \Yatra\Services\SettingsService::getAccountBase()), |
| 142 | 142 | ]; |
| 143 | 143 | foreach (array_filter($bases) as $base) { |