mirror of
https://github.com/colymba/GridFieldBulkEditingTools.git
synced 2024-10-22 11:05:57 +02:00
Fix for undefined variable
$editingCount was not defined in doSave() resulting in a *[Notice] Undefined variable: editingCount*
This commit is contained in:
parent
9592fa0561
commit
2793709250
@ -379,7 +379,7 @@ class GridFieldBulkActionEditHandler extends GridFieldBulkActionHandler
|
|||||||
}
|
}
|
||||||
|
|
||||||
//compose form message
|
//compose form message
|
||||||
$messageModelClass = (($editingCount > 1) ? $singleton->i18n_plural_name() : $singleton->i18n_singular_name());
|
$messageModelClass = (($done > 1) ? $singleton->i18n_plural_name() : $singleton->i18n_singular_name());
|
||||||
$message = _t('GRIDFIELD_BULKMANAGER_EDIT_HANDLER.SAVE_RESULT_TEXT',
|
$message = _t('GRIDFIELD_BULKMANAGER_EDIT_HANDLER.SAVE_RESULT_TEXT',
|
||||||
'{count} {class} saved successfully.',
|
'{count} {class} saved successfully.',
|
||||||
array(
|
array(
|
||||||
|
Loading…
Reference in New Issue
Block a user