fix warning in keyword output of details

This commit is contained in:
Sarah Hoffmann
2018-08-22 22:35:46 +02:00
parent 26bd8304c6
commit 84cfe5db53
2 changed files with 21 additions and 6 deletions

View File

@@ -177,18 +177,20 @@
}
}
if ($bIncludeKeywords)
{
headline('Name Keywords');
foreach ($aPlaceSearchNameKeywords as $aRow) {
_one_keyword_row($aRow['word_token'], $aRow['word_id']);
if ($aPlaceSearchNameKeywords) {
foreach ($aPlaceSearchNameKeywords as $aRow) {
_one_keyword_row($aRow['word_token'], $aRow['word_id']);
}
}
headline('Address Keywords');
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']);
}
}
}