diff options
author | Arun Persaud <arun@nubati.net> | 2010-12-08 09:13:25 -0800 |
---|---|---|
committer | Arun Persaud <arun@nubati.net> | 2010-12-08 09:13:25 -0800 |
commit | 52b668296eaa56c477cf81ef522ed1c7a24712a7 (patch) | |
tree | 280902eac00e8c8c916f2369bdd203a1594dc88b | |
parent | 21e5440db59e4ee3ba71c3a8935a123cc48aea46 (diff) |
the latest version in the database seems to save a path without the trailing slash
-rw-r--r-- | phpfspot.class.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/phpfspot.class.php b/phpfspot.class.php index 111b03e..f611391 100644 --- a/phpfspot.class.php +++ b/phpfspot.class.php @@ -523,7 +523,7 @@ class PHPFSPOT { $query_str = " SELECT p.id as id, - p.base_uri || p.filename as uri, + p.base_uri ||'/'|| p.filename as uri, p.time as time, p.description as description, p.rating as rating @@ -596,7 +596,7 @@ class PHPFSPOT { SELECT version_id, name, - base_uri || filename as uri + base_uri || '/'||filename as uri FROM photo_versions WHERE |