From 4abdbfae1faf7289936d01e6633281e371bddf3d Mon Sep 17 00:00:00 2001 From: denise Date: Fri, 11 Oct 2013 13:22:02 -0400 Subject: [PATCH] CC-5401: Stream settings -> Can't save show source info Typo in sprintf formatting --- airtime_mvc/application/forms/LiveStreamingPreferences.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/airtime_mvc/application/forms/LiveStreamingPreferences.php b/airtime_mvc/application/forms/LiveStreamingPreferences.php index c8c9afed3..3058080c0 100644 --- a/airtime_mvc/application/forms/LiveStreamingPreferences.php +++ b/airtime_mvc/application/forms/LiveStreamingPreferences.php @@ -179,7 +179,7 @@ class Application_Form_LiveStreamingPreferences extends Zend_Form_SubForm socket_bind($sock, 0, $dj_harbor_input_port); } catch (Exception $e) { $element = $this->getElement("dj_harbor_input_port"); - $element->addError(sprintf(_("Port %s is not available"). $dj_harbor_input_port)); + $element->addError(sprintf(_("Port %s is not available"), $dj_harbor_input_port)); $isValid = false; } socket_close($sock);