diff options
Diffstat (limited to 'actions')
-rw-r--r-- | actions/videolist/edit.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/actions/videolist/edit.php b/actions/videolist/edit.php index 2ca99c1c4..f9db7b6a2 100644 --- a/actions/videolist/edit.php +++ b/actions/videolist/edit.php @@ -32,8 +32,9 @@ if (!$input['video_url']) { $parsed_url = videolist_parseurl($input['video_url']);
-if(!$parsed) {
+if(!$parsed_url) {
register_error(elgg_echo('videolist:error:invalid_url'));
+ forward(REFERER);
}
if ($video_guid) {
|