yiisoft/yii2 — pull request #4533 by delighter (2014-07-30 13:42:29+00:00)
Title: fix generateLabels in gii Generator

method substr_compare() produces an Exception: "The length must be greater than zero"
when pass "null" as $length param