Jelajahi Sumber

Database [Class]: Update for PHP 8.1

fusionate 2 tahun lalu
induk
melakukan
65acd0bf93
1 mengubah file dengan 1 tambahan dan 1 penghapusan
  1. 1 1
      resources/classes/database.php

+ 1 - 1
resources/classes/database.php

@@ -2513,7 +2513,7 @@
 																	}
 																}
 															}
-															if (!$child_key_value) {
+															if (!isset($child_key_value) || $child_key_value == '') {
 																$child_key_value = uuid();
 															}
 															//build the insert