CC-1665: Scheduled stream rebroadcasting and recording

-fixed uninitialized variable
This commit is contained in:
Martin Konecny 2012-08-28 17:03:20 -04:00
parent 67d79b97e4
commit b7107fb948
1 changed files with 1 additions and 0 deletions

View File

@ -157,6 +157,7 @@ class Application_Model_Webstream implements Application_Model_LibraryEditable
$result = preg_match("/^(http|https):\/\/.+/", $url, $matches);
$mime = null;
$mediaUrl = null;
if ($result == 0) {
$valid['url'][0] = false;
$valid['url'][1] = 'URL should be of form "http://domain"';