Merge branch 'master' into 'live_production'
Master
See merge request !85
Showing
... | @@ -137,7 +137,6 @@ class Api_model extends CI_Model { | ... | @@ -137,7 +137,6 @@ class Api_model extends CI_Model { |
$ci->email->from('[email protected]', 'TimeOut'); | $ci->email->from('[email protected]', 'TimeOut'); | ||
$ci->email->to($email); | $ci->email->to($email); | ||
$ci->email->cc('[email protected]'); | |||
$ci->email->subject($subject); | $ci->email->subject($subject); | ||
$ci->email->message($message); | $ci->email->message($message); | ||
$ci->email->set_mailtype('html'); | $ci->email->set_mailtype('html'); | ||
... | @@ -686,7 +685,7 @@ class Api_model extends CI_Model { | ... | @@ -686,7 +685,7 @@ class Api_model extends CI_Model { |
FROM review WHERE event_id=$rs->event_id"; | FROM review WHERE event_id=$rs->event_id"; | ||
$rating = $this->db->query($sql)->row_array(); | $rating = $this->db->query($sql)->row_array(); | ||
$rate = isset($rating['rate'])&&!empty($rating['rate'])? | $rate = isset($rating['rate'])&&!empty($rating['rate'])? | ||
$rating['rate']:'0.0'; | round($rating['rate'],1):'0.0'; | ||
$sql = "SELECT SUM(booking.no_of_ticket) AS attend FROM booking | $sql = "SELECT SUM(booking.no_of_ticket) AS attend FROM booking | ||
WHERE status IN (1,2) AND event_id=$rs->event_id"; | WHERE status IN (1,2) AND event_id=$rs->event_id"; | ||
... | ... |
sql/timeout_run_sql.sql
0 → 100644
Please
register
or
sign in
to comment