CC-1665: Scheduled stream rebroadcasting and recording
-fixed uninitialized variable
This commit is contained in:
parent
67d79b97e4
commit
b7107fb948
|
@ -157,6 +157,7 @@ class Application_Model_Webstream implements Application_Model_LibraryEditable
|
||||||
$result = preg_match("/^(http|https):\/\/.+/", $url, $matches);
|
$result = preg_match("/^(http|https):\/\/.+/", $url, $matches);
|
||||||
|
|
||||||
$mime = null;
|
$mime = null;
|
||||||
|
$mediaUrl = null;
|
||||||
if ($result == 0) {
|
if ($result == 0) {
|
||||||
$valid['url'][0] = false;
|
$valid['url'][0] = false;
|
||||||
$valid['url'][1] = 'URL should be of form "http://domain"';
|
$valid['url'][1] = 'URL should be of form "http://domain"';
|
||||||
|
|
Loading…
Reference in New Issue