Skip to content

Commit fb30be7

Browse files
committed
Fix block deletion; closes pluginsGLPI#228
1 parent 5ca7322 commit fb30be7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

templates/container.class.tpl

+1-1
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ class %%CLASSNAME%% extends CommonDBTM
5252
}
5353

5454
static function removeField($fieldname) {
55-
$migration = new Migration;
55+
$migration = new Migration(0);
5656
$migration->dropField(self::getTable(), $fieldname);
5757
5858
}

0 commit comments

Comments
 (0)