Skip to content

Commit aa9f40b

Browse files
committed
Fixed schedules not showing up on Facebook and added favicon from SAN
1 parent 74627c9 commit aa9f40b

File tree

2 files changed

+1
-1
lines changed

2 files changed

+1
-1
lines changed

favicon.ico

1.12 KB
Binary file not shown.

schedule.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ function getScheduleFromId($id) {
108108
$query = "UPDATE schedules SET datelastaccessed = NOW() WHERE id={$id}";
109109
$result = mysql_query($query);
110110

111-
$query = "SELECT startday, endday, starttime, endtime, building, `quarter`, `image` FROM schedules WHERE id={$id}";
111+
$query = "SELECT startday, endday, starttime, endtime, building, `quarter`, CAST(`image` AS unsigned int) AS `image` FROM schedules WHERE id={$id}";
112112

113113
$result = mysql_query($query);
114114
if(!$result) {

0 commit comments

Comments
 (0)