From 83948eacf13a0d8fd9a6bf8f81ef149c371b4952 Mon Sep 17 00:00:00 2001 From: Larry Lewis Date: Sun, 1 Feb 2015 07:24:42 +1100 Subject: [PATCH] Fix wrong variable used --- permalinks.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/permalinks.php b/permalinks.php index 4b97d40..11d25cf 100755 --- a/permalinks.php +++ b/permalinks.php @@ -260,7 +260,7 @@ function permalink_viewers_updateLinks($rows, $listDetails, $schema) { $row = &$rows[$index]; if ($row['permalink']) { - $requiredPrefix = $GLOBALS['schema']['permalink']['defaultValue']; + $requiredPrefix = $schema['permalink']['defaultValue']; if( $requiredPrefix AND substr( $requiredPrefix, -1 ) != '/' ) $requiredPrefix .= '/'; $row['_link'] = strtolower( PREFIX_URL . '/' .$requiredPrefix.$row['permalink']. '/' ); } -- 1.9.3 (Apple Git-50)