Skip to content
Browse files

MDL-26052 data - fix various transitions that were not working ok

  • Loading branch information...
1 parent 35f730f commit 21cec9df42758dbedfba7de73e9c8ae23e946eb2 @stronk7 stronk7 committed
Showing with 0 additions and 1 deletion.
  1. +0 −1 mod/data/view.php
View
1 mod/data/view.php
@@ -563,7 +563,6 @@
$page = 0;
// TODO: Improve this because we are executing $sqlselect twice (here and some lines below)!
if ($allrecordids = get_fieldset_sql($sqlselect)) {
- $allrecordids = array_keys($allrecordids);
$page = (int)array_search($record->id, $allrecordids);
unset($allrecordids);
}

0 comments on commit 21cec9d

Please sign in to comment.
Something went wrong with that request. Please try again.