Loading...
 
Skip to main content

modifier.sefurl.php does not contain a case that handles calendar urls

Status
Closed
Subject
modifier.sefurl.php does not contain a case that handles calendar urls
Version
10.x
8.x
9.x
Category
  • Error
  • Patch
Feature
Templates (Smarty)
Resolution status
Fixed or Solved
Submitted by
leny2010
Lastmod by
leny2010
Rating
(0)
Description

Spotted by a user who noted that the URL of a suggested Calendar at the bottom of a wiki page returned an 'invalid URL' error. I tracked the error down to the sefurl modifier in the template not handling calendar URLs properly. The tested correction to modifier.sefurl.php is:

add after line 95
Copy to clipboard
case 'calendar': $href = $sefurl ? "cal$source" : "tiki-calendar.php?calIds[]=$source"; break;
Importance
2
Easy to solve?
10 easy
Priority
20
Demonstrate Bug on Tiki 19+
Demonstrate Bug (older Tiki versions)
Ticket ID
4228
Created
Monday 21 May, 2012 09:31:50 UTC
by leny2010
LastModif
Thursday 07 June, 2012 21:29:58 UTC


Show PHP error messages