projects
/
phpfspot.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
issue13, if user jumps into from an external link, immediatley display the photo...
[phpfspot.git]
/
phpfspot.class.php
diff --git
a/phpfspot.class.php
b/phpfspot.class.php
index 9d159ff3ff02e09d46c374d50a0a23d1ccb89d87..204c8a7374f4c687ba88ebb2e96d149943f98c7e 100644
(file)
--- a/
phpfspot.class.php
+++ b/
phpfspot.class.php
@@
-532,7
+532,10
@@
class PHPFSPOT {
$current_tags = substr($current_tags, 0, strlen($current_tags)-1);
}
$current_tags = substr($current_tags, 0, strlen($current_tags)-1);
}
- $extern_link = "http://". $_SERVER['SERVER_NAME'] ."/index.php?mode=showpi&tags=". $current_tags;
+ $extern_link = "http://". $_SERVER['SERVER_NAME'] ."/index.php?mode=showpi";
+ if($current_tags != "") {
+ $extern_link.= "&tags=". $current_tags;
+ }
$this->tmpl->assign('extern_link', $extern_link);
$this->tmpl->assign('count', $count);
$this->tmpl->assign('extern_link', $extern_link);
$this->tmpl->assign('count', $count);