GIT.Harvie.CZ
/
mirrors
/
Kyberia-bloodline.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
getUserSubmission_children fix3
[mirrors/Kyberia-bloodline.git]
/
wwwroot
/
inc
/
eventz
/
set_synapse_weight.inc
diff --git
a/wwwroot/inc/eventz/set_synapse_weight.inc
b/wwwroot/inc/eventz/set_synapse_weight.inc
index 80dabe692f264fbca1d6f78f607d3f6e326643b1..32c37f5d88b1260123e33067e1af6e501c993ddc 100644
(file)
--- a/
wwwroot/inc/eventz/set_synapse_weight.inc
+++ b/
wwwroot/inc/eventz/set_synapse_weight.inc
@@
-1,16
+1,16
@@
<?php
// Setting weight of the synapse.
<?php
// Setting weight of the synapse.
-// Synapse is connection betwe
n
n current node and logged user
+// Synapse is connection betwe
e
n current node and logged user
function set_synapse_weight() {
global $db,$error,$node,$permissions,$types;
if (!empty($_POST['synapse_weight'])) {
function set_synapse_weight() {
global $db,$error,$node,$permissions,$types;
if (!empty($_POST['synapse_weight'])) {
- $params['
synapse_
weight']=$_POST['synapse_weight'];
- $params['
from
']=$_SESSION['user_id'];
- $params['
to
']=$node['node_id'];
+ $params['weight']=$_POST['synapse_weight'];
+ $params['
src
']=$_SESSION['user_id'];
+ $params['
dst
']=$node['node_id'];
nodes::setSynapse($params);
return true;
nodes::setSynapse($params);
return true;
This page took
0.106879 seconds
and
4
git commands to generate.