Loading...
 
Skip to main content

Editing an event resets its hour and minute

Status
Closed
Subject
Editing an event resets its hour and minute
Version
4.x
Category
  • Error
  • Less than 30-minutes fix
Feature
Calendar
Resolution status
Fixed or Solved
Submitted by
pierrepierre
Lastmod by
Ushindi Gedeon
Rating
(0)
Description

Editing a calendar item via
tiki-calendar_edit_item.php
resets its hours and minutes to strange values.

This is my first bug report here, I could not find the issue somewhere and believe some experienced developer should review my fix.

Solution

commenting line 61 of lib/smarty_tiki/function.html_select_time.php solved the problem for me.
That line treats the variable $time which is expected to remain a timestamp by the rest of the code.

Workaround
Importance
5
Easy to solve?
8
Priority
40
Demonstrate Bug on Tiki 19+
Demonstrate Bug (older Tiki versions)
Ticket ID
3054
Created
Thursday 25 February, 2010 19:51:04 UTC
by pierrepierre
LastModif
Monday 01 June, 2026 21:20:53 UTC


Show PHP error messages