[Fusionforge-commits] FusionForge branch Branch_5_3 updated. dceca8b18bbc51988a2583acde1c2b1b4ae6e6db
Franck VILLAUME
nerville at fusionforge.org
Thu Feb 13 16:58:48 CET 2014
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "FusionForge".
The branch, Branch_5_3 has been updated
via dceca8b18bbc51988a2583acde1c2b1b4ae6e6db (commit)
from 9f4589a65e168093ce8d473b12fb707821a18b27 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit dceca8b18bbc51988a2583acde1c2b1b4ae6e6db
Author: Marc-Etienne VARGENAU <Marc-Etienne.Vargenau at alcatel-lucent.com>
Date: Thu Feb 13 15:52:26 2014 +0000
db_query_prams --> db_query_params
diff --git a/src/www/people/people_utils.php b/src/www/people/people_utils.php
index c23c1df..f1cd031 100644
--- a/src/www/people/people_utils.php
+++ b/src/www/people/people_utils.php
@@ -95,7 +95,7 @@ function people_add_to_skill_inventory($skill_id,$skill_level_id,$skill_year_id)
$feedback .= _('Must select a skill ID');
} else {
//check if they've already added this skill
- $result=db_query_prams("SELECT * FROM people_skill_inventory WHERE user_id=$1 AND skill_id=$2", array(user_getid(), $skill_id));
+ $result=db_query_params("SELECT * FROM people_skill_inventory WHERE user_id=$1 AND skill_id=$2", array(user_getid(), $skill_id));
if (!$result || db_numrows($result) < 1) {
//skill not already in inventory
$result = db_query_params("INSERT INTO people_skill_inventory (user_id,skill_id,skill_level_id,skill_year_id)
-----------------------------------------------------------------------
Summary of changes:
src/www/people/people_utils.php | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
hooks/post-receive
--
FusionForge
More information about the Fusionforge-commits
mailing list