From 332a1a09e48620f97d510ba2419a09aca75aae03 Mon Sep 17 00:00:00 2001 From: Iain Patterson Date: Mon, 29 Apr 2013 12:21:49 -0400 Subject: [PATCH] Use implode() instead of join(). Be consistent with use of implode()/explode(). --- propel/build/classes/ReadifoodObject.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/propel/build/classes/ReadifoodObject.php b/propel/build/classes/ReadifoodObject.php index e7f6f2c..17efec8 100644 --- a/propel/build/classes/ReadifoodObject.php +++ b/propel/build/classes/ReadifoodObject.php @@ -9,7 +9,7 @@ function getLink($blurb = null, $url = null, $classes = null) { if (is_null($classes)) $classes = array(); else if (! is_array($classes)) $classes = array($classes); - return sprintf("%s", (count($classes)) ? " class=\"" . join(" ", $classes) . "\"" : "", (isset($url)) ? $url : $this->getURL(), (isset($blurb)) ? htmlspecialchars($blurb) : htmlspecialchars($this->getName())); + return sprintf("%s", (count($classes)) ? "class=\"" . implode(" ", $classes) . "\" " : "", (isset($url)) ? $url : $this->getURL(), (isset($blurb)) ? htmlspecialchars($blurb) : htmlspecialchars($this->getName())); } function getStrongLink($blurb = null, $url = null) { -- 2.20.1