]> git.mxchange.org Git - friendica.git/commitdiff
The next boolean
authorMichael <heluecht@pirati.ca>
Mon, 11 May 2020 19:07:18 +0000 (19:07 +0000)
committerMichael <heluecht@pirati.ca>
Mon, 11 May 2020 19:07:18 +0000 (19:07 +0000)
src/Database/DBStructure.php

index bd54ecf8c562fe1c0bb9521ddd1284f645580f03..7c82b518b8f199df181d830dcab013d4a57ad001 100644 (file)
@@ -729,7 +729,7 @@ class DBStructure
                                }
 
                                if ($field['COLUMN_KEY'] == 'PRI') {
-                                       $fielddata[$field['COLUMN_NAME']]['primary'] = 1;
+                                       $fielddata[$field['COLUMN_NAME']]['primary'] = true;
                                }
 
                                $fielddata[$field['COLUMN_NAME']]['Collation'] = $field['COLLATION_NAME'];