aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorrvelices <rv-github@modusoptimus.com>2012-10-27 07:18:32 +0000
committerrvelices <rv-github@modusoptimus.com>2012-10-27 07:18:32 +0000
commitfe8330d14f762b05dbc213296f3b6866e58e0218 (patch)
treec2a03cfbb64c6bb7256c81997ff294bbc9c99523
parente4d30d6bff0c52b1045a079677dfa9a46348fb0f (diff)
fix php warning + removed unnecessary &nbsp;
git-svn-id: http://piwigo.org/svn/trunk@18757 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to '')
-rw-r--r--picture.php2
-rw-r--r--themes/default/template/picture.tpl4
2 files changed, 3 insertions, 3 deletions
diff --git a/picture.php b/picture.php
index e394ddf96..a791ea959 100644
--- a/picture.php
+++ b/picture.php
@@ -908,7 +908,7 @@ if ( count($tags) )
// related categories
if ( count($related_categories)==1 and
isset($page['category']) and
- $related_categories[0]['category_id']==$page['category']['id'] )
+ $related_categories[0]['id']==$page['category']['id'] )
{ // no need to go to db, we have all the info
$template->append(
'related_categories',
diff --git a/themes/default/template/picture.tpl b/themes/default/template/picture.tpl
index 7e4c95dce..d393f5b89 100644
--- a/themes/default/template/picture.tpl
+++ b/themes/default/template/picture.tpl
@@ -135,13 +135,13 @@ y.callService(
<div class="navThumbs">
{if isset($previous)}
<a class="navThumb" id="linkPrev" href="{$previous.U_IMG}" title="{'Previous'|@translate} : {$previous.TITLE}" rel="prev">
- <span class="thumbHover prevThumbHover">&nbsp;</span>
+ <span class="thumbHover prevThumbHover"></span>
<img src="{$previous.derivatives.square->get_url()}" alt="{$previous.TITLE}">
</a>
{/if}
{if isset($next)}
<a class="navThumb" id="linkNext" href="{$next.U_IMG}" title="{'Next'|@translate} : {$next.TITLE}" rel="next">
- <span class="thumbHover nextThumbHover">&nbsp;</span>
+ <span class="thumbHover nextThumbHover"></span>
<img src="{$next.derivatives.square->get_url()}" alt="{$next.TITLE}">
</a>
{/if}