aboutsummaryrefslogtreecommitdiffstats
path: root/include/oembed.php
diff options
context:
space:
mode:
authorSimon <simon@kisikew.org>2012-03-14 08:02:04 -0700
committerSimon <simon@kisikew.org>2012-03-14 08:02:04 -0700
commitc95deb48398a23de68a3d438b5fffeaea3f3fa01 (patch)
treef9e7d080dd0e32d876cb07409b4f8dc1b550b10b /include/oembed.php
parentf03c57007a2a9ec73902acfb2d951528e68e3117 (diff)
parent0bf9595ab19f3af772d20a88eac86dc8cf962c3e (diff)
downloadvolse-hubzilla-c95deb48398a23de68a3d438b5fffeaea3f3fa01.tar.gz
volse-hubzilla-c95deb48398a23de68a3d438b5fffeaea3f3fa01.tar.bz2
volse-hubzilla-c95deb48398a23de68a3d438b5fffeaea3f3fa01.zip
Merge pull request #134 from simonlnu/master
PHP Fatal error: Call-time pass-by-reference has been removed in mod/item.php on line 630
Diffstat (limited to 'include/oembed.php')
-rwxr-xr-xinclude/oembed.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/oembed.php b/include/oembed.php
index 5c3c595f5..52068efc7 100755
--- a/include/oembed.php
+++ b/include/oembed.php
@@ -62,7 +62,7 @@ function oembed_fetch_url($embedurl){
function oembed_format_object($j){
$embedurl = $j->embedurl;
- $jhtml = oembed_iframe($j->embedurl,$j->width,$j->height );
+ $jhtml = oembed_iframe($j->embedurl,(isset($j->width) ? $j->width : null), (isset($j->height) ? $j->height : null) );
$ret="<span class='oembed ".$j->type."'>";
switch ($j->type) {
case "video": {