mirror of
https://gitlab.com/t6353/sharee.bike.git
synced 2025-05-13 15:16:38 +02:00
prepaid account coding. Some minor fixes.
This commit is contained in:
parent
b6100696a5
commit
01a9f06617
17 changed files with 296 additions and 121 deletions
|
@ -921,8 +921,8 @@ sub booking_request(){
|
|||
fetch => "one",
|
||||
main_id => 300008,
|
||||
template_id => 218,
|
||||
#ca_id => "$auth->{c_id}",#future change
|
||||
int10 => "$auth->{c_id}",
|
||||
ca_id => "$auth->{c_id}",
|
||||
#int10 => "$auth->{c_id}",#deprecated
|
||||
state => "null",
|
||||
close_time => "is::null",
|
||||
};
|
||||
|
@ -1482,10 +1482,15 @@ sub booking_update(){
|
|||
int23 => $user_miniquest_count,
|
||||
atime => "now()",
|
||||
};
|
||||
$rows = $dbt->update_record($dbh,$update23,$auth_prim) if($dbt->{copri_conf}->{contributors} && $auth_prim->{c_id} !~ /$dbt->{copri_conf}->{contributors}/);
|
||||
$rows = $dbt->update_record($dbh,$update23,$auth_prim) if($auth_prim->{c_id} && !$dbt->{copri_conf}->{betau_id}->{$auth_prim->{c_id}});
|
||||
}
|
||||
}#end mini_quest
|
||||
|
||||
#reponse-log
|
||||
if($booking_values->{response_text}){
|
||||
my $response_log = $booking->{txt29} . "\n- $log_stamp $booking_values->{response_text}";
|
||||
$dbt->update_one($dbh,$booking_pos,"txt29='$response_log'");
|
||||
}
|
||||
}
|
||||
}
|
||||
return ($rows,$booking_values);
|
||||
|
@ -3174,7 +3179,7 @@ sub authcookie_manager {
|
|||
}
|
||||
$registered_cookies =~ s/\|$//;
|
||||
|
||||
#$bw->log("generated authcookie",$authcookie,"");
|
||||
$bw->log("generated authcookie",$authcookie,"");
|
||||
|
||||
#return still existing authcookie
|
||||
if($registered_cookies && $registered_cookies =~ /$authcookie/){
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue