move to new DBIxDS code
[catagits/App-IdiotBox.git] / lib / App / IdiotBox.pm
index 2b79dee..497cb98 100644 (file)
@@ -128,7 +128,7 @@ method show_video ($video) {
   $self->html_response(video => sub {
     my $video_url = 
       $self->base_url
-      .$video_file;
+      .($video_file||'NO FILE FOUND SORRY');
 
     $_->select('.video-name')->replace_content($video->name)
       ->select('.author-name')->replace_content($video->author)