shish 2 gadi atpakaļ
vecāks
revīzija
2efc6099c0
1 mainītis faili ar 4 papildinājumiem un 0 dzēšanām
  1. 4 0
      console/controllers/CpController.php

+ 4 - 0
console/controllers/CpController.php

@@ -27,6 +27,10 @@ class CpController extends Controller
         if (empty($copyList)) {
             return false;
         }
+        $cp = CpClassClass::getOne(true);
+        $e = $cp->attributes;
+        print_r($e);
+        die;
         foreach ($copyList as $copy) {
             $arr = json_decode($copy, true);
             $oldMainId = $arr['oldMainId'] ?? 0;