reorder batch field only if exists #1183

Closed
wants to merge 2 commits into from

2 participants

@mikemeier

No description provided.

@stof stof commented on an outdated diff Feb 20, 2013
Admin/FieldDescriptionCollection.php
@@ -117,7 +117,9 @@ public function count()
*/
public function reorder(array $keys)
{
- array_unshift($keys, 'batch');
+ if($this->has('batch')){
@stof
stof added a note Feb 20, 2013

missing spaces

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
@rande
Sonata Project member

cherry picked and merged into 2.1/master

@rande rande closed this Mar 27, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment