From f2280654f8aaa33964e62c27a9cab6c96372ba57 Mon Sep 17 00:00:00 2001 From: Sem Date: Wed, 9 Nov 2011 20:24:56 +0100 Subject: No regexp when parsing urls. Blip.tv support added. Style added. Fixed edit action. --- actions/videolist/edit.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'actions/videolist/edit.php') 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) { -- cgit v1.2.3