projects
/
embedvideo
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7c618b7
)
Added code to get rid of some undeclared/uninit warnings
author
Alan J. Pippin
<ajp@server.pippins.net>
Fri, 18 Apr 2008 01:09:40 +0000
(19:09 -0600)
committer
Alan J. Pippin
<ajp@pippins.net>
Fri, 18 Apr 2008 01:09:40 +0000
(19:09 -0600)
ItemAddEmbedVideo.inc
patch
|
blob
|
history
diff --git
a/ItemAddEmbedVideo.inc
b/ItemAddEmbedVideo.inc
index 69ee24dbd4ef0740c728f01976db142b6f1e53b9..7103c3715ecc234aced11a029baa43ac49b8ac4e 100644
(file)
--- a/
ItemAddEmbedVideo.inc
+++ b/
ItemAddEmbedVideo.inc
@@
-34,7
+34,7
@@
class ItemAddEmbedVideo extends ItemAddPlugin {
* @see ItemAddPlugin::handleRequest
*/
function handleRequest($form, &$item) {
- global $gallery;
+ global $gallery
, $url
;
$status = $error = array();
@@
-1213,7
+1213,8
@@
class ItemAddEmbedVideo extends ItemAddPlugin {
global $gallery;
$requestMethod='GET';
-
+ $requestBody='';
+
/* Convert illegal characters */
$url = str_replace(' ', '%20', $url);