diff --git a/web/concrete/attributes/address/controller.php b/web/concrete/attributes/address/controller.php
index <HASH>..<HASH> 100644
--- a/web/concrete/attributes/address/controller.php
+++ b/web/concrete/attributes/address/controller.php
@@ -327,13 +327,13 @@ class Controller extends AttributeTypeController
         $db = Loader::db();

         $row = $db->GetRow(

             'select akHasCustomCountries, akDefaultCountry from atAddressSettings where akID = ?',

-            $ak->getAttributeKeyID()

+            array($ak->getAttributeKeyID())

         );

         $countries = array();

         if ($row['akHasCustomCountries'] == 1) {

             $countries = $db->GetCol(

                 'select country from atAddressCustomCountries where akID = ?',

-                $ak->getAttributeKeyID()

+                array($ak->getAttributeKeyID())

             );

         }

         $this->akHasCustomCountries = $row['akHasCustomCountries'];
fixing issue with address attribute


Former-commit-id: <I>e3c8a<I>a<I>f<I>a<I>d<I>ba<I>e2b<I>