From 1ee6a05860cd1fcba9021125e6836cc11bf05d27 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mr=C2=B7x?= Date: Tue, 19 Jan 2021 19:56:08 +0800 Subject: [PATCH] =?UTF-8?q?=E6=94=B9=E5=90=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Gii/GiiModel.php | 3 --- 1 file changed, 3 deletions(-) diff --git a/Gii/GiiModel.php b/Gii/GiiModel.php index 62a305a0..1464f10c 100644 --- a/Gii/GiiModel.php +++ b/Gii/GiiModel.php @@ -126,9 +126,6 @@ class ' . $managerName . ' extends ActiveRecord $html .= ' ' . $debug . ' static $' . $key . ' = ' . $val . ';' . "\n"; } else { - if ($key == 'primary') { - continue; - } $html .= ' ' . $debug . ' $' . $key . ' = ' . $val . ';' . "\n"; }