yii2support icon indicating copy to clipboard operation
yii2support copied to clipboard

check isset in views

Open nvlad opened this issue 7 years ago • 1 comments

if (!isset($items)) {
    $items = [];
}

nvlad avatar Feb 20 '18 07:02 nvlad

also for one-liners:

$items = isset($items) ? $items : [];

cornernote avatar Mar 28 '18 04:03 cornernote