Skip to content
Snippets Groups Projects
Commit 500b0c29 authored by Prasad's avatar Prasad
Browse files

Syntax fix for php 7 compat.

parent 5b43c211
No related branches found
No related tags found
No related merge requests found
......@@ -141,7 +141,7 @@ class Appointment
for($j = $from; $j <= $to; $j=$j+(60*60*24))
{
$obj = &new Appointment();
$obj = new Appointment();
$temp_start = date("Y-m-d",$j);
$endTime = strtotime($temp_start. ' '. $result['time_start']);
if($endTime > $windowTo) {
......@@ -187,7 +187,7 @@ class Appointment
$a = 0;
while ( $a < $n )
{
$obj = &new Appointment();
$obj = new Appointment();
$result = $adb->fetchByAssoc($r);
list($obj->temphour,$obj->tempmin) = explode(":",$result["time_start"]);
$obj->readResult($result,$view);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment