Changed an "if" a bit... :-)

This commit is contained in:
stronk7 2004-05-14 17:07:48 +00:00
parent eab0f15aa3
commit 26a71d0d05

View File

@ -68,10 +68,10 @@
$status = false;
}
//get backup config
if (! $backup_config = backup_get_config()) {
$status = false;
}
if ($status) {
if (! $backup_config = backup_get_config()) {
$status = false;
}
//get courses
if ($courses = get_records("course")) {
//For each course, we check (insert, update) the backup_course table