summaryrefslogtreecommitdiff
path: root/modules/g2_import
diff options
context:
space:
mode:
authorMike Miller <github@mikeage.net>2013-02-13 23:11:32 +0200
committerMike Miller <github@mikeage.net>2013-02-13 23:11:32 +0200
commitd3ca2617f21be55509a30b02babec156f0bac539 (patch)
tree2d684b39d3ac7c2fbc24e18b53f4ad043264104c /modules/g2_import
parent91acf812a12c331c7bac53a8718419b024dff4a6 (diff)
Replace = with ==
This was my mistake; I didn't test it thoroughly. It results in all g2 mappings being broken!
Diffstat (limited to 'modules/g2_import')
-rw-r--r--modules/g2_import/controllers/g2.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/g2_import/controllers/g2.php b/modules/g2_import/controllers/g2.php
index ba8ae7fa..abbf87a0 100644
--- a/modules/g2_import/controllers/g2.php
+++ b/modules/g2_import/controllers/g2.php
@@ -37,7 +37,7 @@ class G2_Controller extends Controller {
// Tags did not have mappings created, so we need to catch them first. However, if a g2_itemId was
// passed, we'll want to show lookup the mapping anyway
- if (($path && 0 === strpos($path, "tag/")) || $view = "tags.VirtualAlbum") {
+ if (($path && 0 === strpos($path, "tag/")) || $view == "tags.VirtualAlbum") {
if (0 === strpos($path, "tag/")) {
$tag_name = substr($path, 4);
}