Fix for undefined variable

$editingCount was not defined in doSave() resulting in a *[Notice]
Undefined variable: editingCount*
This commit is contained in:
Jonathon Menz 2015-02-19 17:24:55 -08:00
parent 9592fa0561
commit 2793709250

View File

@ -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(