From 6411ad656d339a29846af3ef1027f6e6b9e7ca86 Mon Sep 17 00:00:00 2001 From: Alan Knowles Date: Fri, 14 Oct 2016 10:41:47 +0800 Subject: [PATCH] CodeDoc/Data/Class.php --- CodeDoc/Data/Class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CodeDoc/Data/Class.php b/CodeDoc/Data/Class.php index 966c3a1..93b7c15 100644 --- a/CodeDoc/Data/Class.php +++ b/CodeDoc/Data/Class.php @@ -77,7 +77,7 @@ class PHP_CodeDoc_Data_Class { foreach($this->Attributes as $op) { // $ret[$this->name . '.'.$op->name] = $op->toJS(); } - $ret[str_replace('_','-',strtolower($this->name))] = $cats; + $ret[ $this->name] = $cats; return $ret; } -- 2.39.2