K3.1 : fix undefined variable in category index #2367 (regression)
Merge pull request #2375 from xillibit/k31_bugs9

K3.1 : fix undefined variable in category index #2367 (regression)