From: Harvie Date: Tue, 26 Oct 2010 23:29:46 +0000 (+0200) Subject: logger fix X-Git-Url: https://git.harvie.cz/?a=commitdiff_plain;h=f3d38e1793f3f6625c29d91df0b073f4a3868b63;p=mirrors%2FKyberia-bloodline.git logger fix --- diff --git a/wwwroot/inc/nodes.inc b/wwwroot/inc/nodes.inc index 2149d91..efd21bc 100644 --- a/wwwroot/inc/nodes.inc +++ b/wwwroot/inc/nodes.inc @@ -100,6 +100,7 @@ node_vector='".$params['node_vector']."'"; --$user_k; $db->query("update users set user_k='$user_k' where user_id='$params[node_creator]'"); $db->query("commit"); + global $logger; $logger->log('add','ok',$id); if ($_POST['code']) {