- foreach($aPlaceSearchAddressKeywords as $aRow)
- {
- _one_keyword_row($aRow['word_token'], $aRow['word_id']);
+ if ($aPlaceSearchAddressKeywords) {
+ foreach ($aPlaceSearchAddressKeywords as $aRow) {
+ _one_keyword_row($aRow['word_token'], $aRow['word_id']);
+ }