mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-14 00:39:57 +09:00
git-svn-id: http://xe-core.googlecode.com/svn/trunk@1045 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
e543d58f81
commit
a5bfca05be
8 changed files with 21 additions and 18 deletions
|
|
@ -44,8 +44,8 @@
|
|||
$src = $xml_obj->attrs->multimedia_src;
|
||||
|
||||
preg_match_all('/(width|height)([^[:digit:]]+)([0-9]+)/i',$style,$matches);
|
||||
$width = $matches[3][0];
|
||||
$height = $matches[3][1];
|
||||
$width = trim($matches[3][0]);
|
||||
$height = trim($matches[3][1]);
|
||||
if(!$width) $width = 400;
|
||||
if(!$height) $height = 400;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue