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

This commit is contained in:
Eloy Lafuente (stronk7)
2011-02-04 20:06:26 +01:00
parent 35f730f16b
commit 21cec9df42
-1
View File
@@ -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);
}