Trying to access array offset on value of type bool. Fixed.
[fa-stable.git] / gl / manage / gl_account_classes.php
index d02cfdb44674ae91b3af932dfc3f6eecb69becd8..a08a17e4652e40bdc22a97819daec91f6afaec68 100644 (file)
@@ -116,11 +116,10 @@ table_header($th);
 $k = 0;
 while ($myrow = db_fetch($result)) 
 {
-
        alt_table_row_color($k);
 
        label_cell($myrow["cid"]);
-       label_cell($myrow['class_name']);
+       label_cell('<a href="./gl_account_types.php?cid='.$myrow["cid"].'">'.$myrow['class_name'].'</a>');
        if (isset($SysPrefs->use_oldstyle_convert) && $SysPrefs->use_oldstyle_convert == 1)
        {
                $myrow['ctype'] = ($myrow["ctype"] >= CL_ASSETS && $myrow["ctype"] < CL_INCOME ? 1 : 0);