First fix of PHP 8.2 deprecated errors. Not seen with $go_debug = 0, but error.log...
[fa-stable.git] / includes / ui / attachment.inc
index 3ecf0ad0339ae6d8b72262054802eeb52e200bf9..f6500dafba2ecf01a2cfb8fa2caecf90ac3cc966 100644 (file)
@@ -24,7 +24,7 @@ class attachments extends simple_crud {
                $fields = array('type_no', 'trans_no','description','filename','tran_date' => 'date');
                parent::__construct($name, $fields);
                $this->class = $class;
-               $this->subclass = $subclass;
+               $this->sub_class = $subclass;
                $this->entity = $id;
                
        }