summaryrefslogtreecommitdiff
path: root/modules/g2_import
diff options
context:
space:
mode:
authorBharat Mediratta <bharat@menalto.com>2013-02-13 13:55:27 -0800
committerBharat Mediratta <bharat@menalto.com>2013-02-13 13:55:27 -0800
commit3b9eb29d89e1b1c1bb869ea1cc8ee8a7e7df280a (patch)
tree2feea541a328250951fbbf5b8850b714973bfac4 /modules/g2_import
parent4fc539651685d0c0b540c88f2a64e8ffe1f69646 (diff)
parentd3ca2617f21be55509a30b02babec156f0bac539 (diff)
Merge pull request #143 from mikeage/g2_import
Replace = with ==
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 c9b1d182..c24d52e9 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);
}