From: Iain Patterson Date: Wed, 1 May 2013 14:09:53 +0000 (-0400) Subject: Typo. X-Git-Tag: 2013-05-13~26 X-Git-Url: http://git.iain.cx/?a=commitdiff_plain;h=f9e5947f547ece139806309f589d80177e48cb79;p=readifood.git Typo. The correct method name is getId() not getID(). --- diff --git a/lib/city.php b/lib/city.php index 6143bd2..9dfc3c3 100644 --- a/lib/city.php +++ b/lib/city.php @@ -18,7 +18,7 @@ if (count($p)) { foreach ($p as $city) { echo "
\nCity: " . $city->getStrongLink(get_city_displayname($city)); - printf(" Areas", urlencode($city->getName()), $city->getID()); + printf(" Areas", urlencode($city->getName()), $city->getId()); printf(" Contacts", urlencode($city->getName()), $city->getId()); printf(" Donations", urlencode($city->getName()), $city->getId()); printf(" Orders", urlencode($city->getName()), $city->getId()); @@ -100,7 +100,7 @@ if (! $city) return; echo "

City: " . get_city_displayname($city) . ""; - printf(" Areas", urlencode($city->getName()), $city->getID()); + printf(" Areas", urlencode($city->getName()), $city->getId()); printf(" Contacts", urlencode($city->getName()), $city->getId()); printf(" Donations", urlencode($city->getName()), $city->getId()); printf(" Orders", urlencode($city->getName()), $city->getId());