summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorturon <spider@turon>2014-09-22 17:54:49 -0400
committerturon <spider@turon>2014-09-22 17:54:49 -0400
commit83886428685321472cd7d4db4bf16f5b4c34326c (patch)
tree6ab54fb5a0ee3b57348e1fa8d5592561671317d5
parente38344393ee4d58ea0c670e9e33df3297c702d3e (diff)
downloadfisheye-83886428685321472cd7d4db4bf16f5b4c34326c.tar.gz
fisheye-83886428685321472cd7d4db4bf16f5b4c34326c.tar.bz2
fisheye-83886428685321472cd7d4db4bf16f5b4c34326c.zip
static function getTitleFromHash
-rw-r--r--FisheyeBase.php1
-rw-r--r--FisheyeImage.php2
2 files changed, 2 insertions, 1 deletions
diff --git a/FisheyeBase.php b/FisheyeBase.php
index 3570534..9e9b688 100644
--- a/FisheyeBase.php
+++ b/FisheyeBase.php
@@ -115,6 +115,7 @@ not ready for primetime
*/
function getBreadcrumbLinks( $pIncludeSelf = FALSE ) {
+bt();
$ret = '';
if( !$this->getField( 'gallery_path' ) ) {
if( $this->isValid() && $parents = $this->getParentGalleries() ) {
diff --git a/FisheyeImage.php b/FisheyeImage.php
index 1162dbd..6a66e40 100644
--- a/FisheyeImage.php
+++ b/FisheyeImage.php
@@ -685,7 +685,7 @@ class FisheyeImage extends FisheyeBase {
return $ret;
}
- function getTitleFromHash( $pHash, $pDefault=TRUE ) {
+ static public function getTitleFromHash( $pHash, $pDefault=TRUE ) {
$ret = trim( parent::getTitleFromHash( $pHash, $pDefault ) );
if( empty( $ret ) && $pDefault ) {
$storage = (!empty( $this->mStorage ) ? current( $this->mStorage ) : NULL);