Bug 26592: (follow-up) fix typo
authorJonathan Druart <jonathan.druart@bugs.koha-community.org>
Thu, 15 Oct 2020 13:42:09 +0000 (15:42 +0200)
committerJonathan Druart <jonathan.druart@bugs.koha-community.org>
Mon, 2 Nov 2020 14:39:38 +0000 (15:39 +0100)
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
koha-tmpl/intranet-tmpl/prog/en/includes/js_includes.inc

index 2323f83..ac35740 100644 (file)
                         }
                         itemString += ( item.address ? item.address.escapeHtml() : "" ) + " "
                                     + ( item.city    ? item.city.escapeHtml()    : "" ) + " "
-                                    + ( item.zipcode ? item.city.escapeHtml()    : "" ) + " "
+                                    + ( item.zipcode ? item.zipcode.escapeHtml() : "" ) + " "
                                     + ( item.country ? item.country.escapeHtml() : "" )
                                     + "</small></a>";
                         return $( "<li></li>" )