mirror of
https://gitee.com/fastadminnet/framework.git
synced 2026-07-07 15:12:48 +08:00
修正Tag类一处错误
This commit is contained in:
@@ -22,8 +22,8 @@ class Tag {
|
|||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
static public function add($tag,$behavior) {
|
static public function add($tag,$behavior) {
|
||||||
if(is_array($hehavior)) {
|
if(is_array($behavior)) {
|
||||||
self::$tags[$tag] = array_merge(self::$tags[$tag],$hehavior);
|
self::$tags[$tag] = array_merge(self::$tags[$tag],$behavior);
|
||||||
}else{
|
}else{
|
||||||
self::$tags[$tag][] = $behavior;
|
self::$tags[$tag][] = $behavior;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user