meeting-room-booking-system / mrbs-code

MRBS application code
Other
120 stars 59 forks source link

&nbsp in output of view_entry.php #1411

Open jberanek opened 9 years ago

jberanek commented 9 years ago

Hi.

I am trying to install MRBS 1.4.11 (MySQL 5.5.40-0+wheezy1 on Linux 3.2.0-3-686-pae) with periods' instead oftimes' However, when I click on an event, the details displayed by view_entry.php have  ' appearing insideStart Time' and `End Time'; see attached image below.

The relevant lines in my config.inc.php are

$enable_periods = TRUE; // Default value for new areas unset($periods); // Include this line when copying to config.inc.php $periods[] = "09:10 - 10:25"; $periods[] = "10:30 - 11:45";

(The start and end of the periods displayed on the calendar page (day.php, week.php, month.php) are correct: 09:10-10:30 etc.

If you could tell me what I am doing wrong, it would be very useful.

Thanks.

With regards, Manoj.

Reported by: *anonymous

Original Ticket: mrbs/support-requests/682

Attachments: https://sourceforge.net/p/mrbs/support-requests/682/attachment/test1.png

jberanek commented 9 years ago

Just to clarify: the spaces around the hyphen in the lines of config.inc.php quoted above are the characters & n b s p ; (without those spaces). I did not realize that markdown works on the posts.

Original comment by: *anonymous

jberanek commented 9 years ago

I think the easiest thing to do is to replace the   entities in the config file with ordinary spaces.

Original comment by: campbell-m