Fix installation

pull/2487/head
Angel Fernando Quiroz Campos 9 years ago
parent 7328adc8f7
commit f36d44b77c
  1. 2
      main/install/install.lib.php

@ -3062,7 +3062,7 @@ function migrateSwitch($fromVersion, $manager, $processFiles = true)
$sql = "SELECT * FROM c_student_publication where parent_id is not null";
$statement = $connection->executeQuery($sql);
$result = $statement->fetchAll();
while ($result as $row) {
foreach ($result as $row) {
$groupId = $row['post_group_id'];
$courseId = $row['c_id'];
$sessionId = $row['session_id'];

Loading…
Cancel
Save