summaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
authorBharat Mediratta <bharat@menalto.com>2009-05-28 01:45:39 -0700
committerBharat Mediratta <bharat@menalto.com>2009-05-28 01:45:39 -0700
commit6fdc84f5def3b2f51e62bf06e83d01da4593265e (patch)
treeb7805b0d0bb136951211b8b77b150da937eec349 /modules
parent8d2782ad1df10679b302ab6c4fafdd2f5535be4a (diff)
Get rid of entire gallery2 session id param from the urls that we use to alert
users about images that failed to import.
Diffstat (limited to 'modules')
-rw-r--r--modules/g2_import/helpers/g2_import.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/modules/g2_import/helpers/g2_import.php b/modules/g2_import/helpers/g2_import.php
index fdeb63f8..60dd593f 100644
--- a/modules/g2_import/helpers/g2_import.php
+++ b/modules/g2_import/helpers/g2_import.php
@@ -443,7 +443,8 @@ class g2_import_Core {
// @todo we need a more persistent warning
$g2_item_url = $url_generator->generateUrl(array("itemId" => $g2_item->getId()));
// Why oh why did I ever approve the session id placeholder idea in G2?
- $g2_item_url = str_replace('TMP_SESSION_ID_DI_NOISSES_PMT', '', $g2_item_url);
+ $g2_item_url =
+ str_replace('&amp;g2_GALLERYSID=TMP_SESSION_ID_DI_NOISSES_PMT', '', $g2_item_url);
$warning =
t("<a href=\"%g2_url\">%title</a> from Gallery 2 could not be processed; " .
"(imported as <a href=\"%g3_url\">%title</a>)",