projects
/
brisk.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
add usersnet delete when friendship set to 'unknown'
[brisk.git]
/
web
/
Obj
/
brisk.phh
diff --git
a/web/Obj/brisk.phh
b/web/Obj/brisk.phh
index
6d4096c
..
4592179
100644
(file)
--- a/
web/Obj/brisk.phh
+++ b/
web/Obj/brisk.phh
@@
-1751,6
+1751,7
@@
class Brisk
$mesg = "";
$user_code = -1;
$ret = 0;
$mesg = "";
$user_code = -1;
$ret = 0;
+ $subret = 0;
do {
if (($json = json_decode($json_s)) == FALSE) {
do {
if (($json = json_decode($json_s)) == FALSE) {
@@
-1763,8
+1764,8
@@
class Brisk
break;
}
break;
}
- if (($
user_item
= $bdb->usersnet_save($user->code, $json)) != 0) {
- $ret = 4000 + $
user_item
;
+ if (($
subret
= $bdb->usersnet_save($user->code, $json)) != 0) {
+ $ret = 4000 + $
subret
;
break;
}
} while(0);
break;
}
} while(0);