tbrehm
2012-01-10 5061c0a82fb7edb742515699864106b27a1ca4c3
server/lib/classes/db_mysql.inc.php
@@ -298,7 +298,11 @@
         //print_r($diff_num);
         //print_r($diffrec_full);
         $diffstr = $app->db->quote(serialize($diffrec_full));
         $username = $app->db->quote($_SESSION['s']['user']['username']);
         if(isset($_SESSION)) {
            $username = $app->db->quote($_SESSION['s']['user']['username']);
         } else {
            $username = 'admin';
         }
         $dbidx = $primary_field.':'.$primary_id;
                  
         if($action == 'INSERT') $action = 'i';