projects
/
web
/
TroutCreek.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3f07349
)
Silence any error from grabbing video data by xml
author
Steve Sutton
<steve@gaslightmedia.com>
Wed, 11 Feb 2015 13:45:53 +0000
(08:45 -0500)
committer
Steve Sutton
<steve@gaslightmedia.com>
Wed, 11 Feb 2015 13:45:53 +0000
(08:45 -0500)
Toolkit/Videos/Video.php
patch
|
blob
|
history
diff --git
a/Toolkit/Videos/Video.php
b/Toolkit/Videos/Video.php
index
8e5f6e3
..
cbc2c91
100644
(file)
--- a/
Toolkit/Videos/Video.php
+++ b/
Toolkit/Videos/Video.php
@@
-338,7
+338,7
@@
class Toolkit_Videos_Video
$response = curl_exec($ch);
curl_close($ch);
$doc = new DOMDocument;
- $doc->loadXML($response);
+
@
$doc->loadXML($response);
$title = $doc->getElementsByTagName("title")->item(0)->nodeValue;
return $title;
}