fmsystem-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Fmsystem-commits] [15354] booking: validation


From: sigurdne
Subject: [Fmsystem-commits] [15354] booking: validation
Date: Fri, 1 Jul 2016 08:49:54 +0000 (UTC)

Revision: 15354
          http://svn.sv.gnu.org/viewvc/?view=rev&root=fmsystem&revision=15354
Author:   sigurdne
Date:     2016-07-01 08:49:54 +0000 (Fri, 01 Jul 2016)
Log Message:
-----------
booking: validation

Modified Paths:
--------------
    trunk/booking/inc/class.soevent.inc.php

Modified: trunk/booking/inc/class.soevent.inc.php
===================================================================
--- trunk/booking/inc/class.soevent.inc.php     2016-07-01 08:41:46 UTC (rev 
15353)
+++ trunk/booking/inc/class.soevent.inc.php     2016-07-01 08:49:54 UTC (rev 
15354)
@@ -116,6 +116,7 @@
 
                function get_ordered_comments( $id )
                {
+                       $id = (int) $id;
                        $results = array();
                        $this->db->query("select time,author,comment,type from 
bb_event_comment where event_id=($id) order by time desc", __LINE__, __FILE__);
                        while ($this->db->next_record())
@@ -130,6 +131,7 @@
 
                function get_ordered_costs( $id )
                {
+                       $id = (int) $id;
                        $results = array();
                        $this->db->query("SELECT * FROM bb_event_cost WHERE 
event_id=($id) ORDER BY time DESC", __LINE__, __FILE__);
                        while ($this->db->next_record())
@@ -177,6 +179,7 @@
 
                function get_contact_mail( $id, $type )
                {
+                       $id = (int) $id;
                        $mail = array();
                        if ($type == 'allocation')
                        {




reply via email to

[Prev in Thread] Current Thread [Next in Thread]