From 1e605feb90dfdff097f9d5a3f07c4d930ad23106 Mon Sep 17 00:00:00 2001 From: andi Date: Mon, 21 Mar 2005 19:46:03 +0100 Subject: fixed broken images darcs-hash:20050321184603-9977f-bbf83118ddc8444bc98f5b68e96558177f0d3d15.gz --- inc/format.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/inc/format.php b/inc/format.php index 0d8106fa2..8e953fade 100644 --- a/inc/format.php +++ b/inc/format.php @@ -343,6 +343,9 @@ function format_link_media($link){ if($pos !== false){ $src = substr($link['name'],0,$pos); $param = substr($link['name'],$pos+1); + }else{ + $src = $link['name']; + $param = ''; } //parse width and height -- cgit v1.2.3