Patch Yannick
This commit is contained in:
parent
cc2217a8a4
commit
fcc2a026a2
@ -1,6 +1,6 @@
|
||||
<?php
|
||||
/* Copyright (C) 2003 Rodolphe Quiedeville <rodolphe@quiedeville.org>
|
||||
* Copyright (C) 2004 Laurent Destailleur <eldy@users.sourceforge.net>
|
||||
* Copyright (C) 2004-2006 Laurent Destailleur <eldy@users.sourceforge.net>
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
@ -18,7 +18,6 @@
|
||||
*
|
||||
* $Id$
|
||||
* $Source$
|
||||
*
|
||||
*/
|
||||
|
||||
function get_ca_propal ($db, $year, $socid)
|
||||
@ -34,7 +33,8 @@ function get_ca_propal ($db, $year, $socid)
|
||||
|
||||
if ($result)
|
||||
{
|
||||
return $db->result (0, 0);
|
||||
$res = $db->fetch_object($result);
|
||||
return $res->sum;
|
||||
}
|
||||
else
|
||||
{
|
||||
@ -61,7 +61,8 @@ function get_ca ($db, $year, $socid)
|
||||
|
||||
if ($result)
|
||||
{
|
||||
return $db->result ( 0, 0);
|
||||
$res = $db->fetch_object($result);
|
||||
return $res->sum;
|
||||
}
|
||||
else
|
||||
{
|
||||
|
||||
Loading…
Reference in New Issue
Block a user