Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

fix for maps bbcode

  • Loading branch information...
commit 6b21af873961bbd2579b5c1f5aaffa98fca04446 1 parent 954d838
@torbenbrodt authored
View
4 optionals/de.gmap.wcf.data.message.bbcode.map/files/lib/data/message/bbcode/MapBBCode.class.php
@@ -63,6 +63,10 @@ private function parseMapsGoogle($data, &$stream, &$zoom) {
$first = array_shift($data);
$url = parse_url($first);
+ if(!isset($url['query'])) {
+ return;
+ }
+
parse_str($url['query'], $output);
if(isset($output['ll']) && $output['ll']) {
list($lat, $lon) = explode(",", $output['ll']);
View
10 optionals/de.gmap.wcf.data.message.bbcode.map/package.xml
@@ -5,7 +5,7 @@
<packagename>Google Maps: BBCode</packagename>
<packagedescription><![CDATA[This BBCode allows you to add a map with infinite markers to your posting.]]></packagedescription>
<plugin>com.woltlab.wcf.data.page</plugin>
- <version>2.0.1</version>
+ <version>2.0.2</version>
<date>DATE</date>
</packageinformation>
@@ -29,15 +29,23 @@
<languages languagecode="fr">fr.xml</languages>
</instructions>
+ <instructions type="update" fromversion="2.0.1">
+ <templates>templates.tar</templates>
+ <files>files.tar</files>
+ </instructions>
+
<instructions type="update" fromversion="2.0.0">
<templates>templates.tar</templates>
+ <files>files.tar</files>
</instructions>
<instructions type="update" fromversion="2.0.0 RC 2">
<templates>templates.tar</templates>
+ <files>files.tar</files>
</instructions>
<instructions type="update" fromversion="2.0.0 RC 3">
<templates>templates.tar</templates>
+ <files>files.tar</files>
</instructions>
</package>
Please sign in to comment.
Something went wrong with that request. Please try again.