diff options
author | andi <andi@splitbrain.org> | 2005-03-21 19:46:03 +0100 |
---|---|---|
committer | andi <andi@splitbrain.org> | 2005-03-21 19:46:03 +0100 |
commit | 1e605feb90dfdff097f9d5a3f07c4d930ad23106 (patch) | |
tree | f2e87db7496cb69f7c77e62a22f8c18eb476e19c | |
parent | ae3f21345cde027cf921d0f219f3db91969461ab (diff) | |
download | rpg-1e605feb90dfdff097f9d5a3f07c4d930ad23106.tar.gz rpg-1e605feb90dfdff097f9d5a3f07c4d930ad23106.tar.bz2 |
fixed broken images
darcs-hash:20050321184603-9977f-bbf83118ddc8444bc98f5b68e96558177f0d3d15.gz
-rw-r--r-- | inc/format.php | 3 |
1 files changed, 3 insertions, 0 deletions
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 |