fixed warning; merged from MOODLE_16_STABLE

This commit is contained in:
skodak
2006-05-23 13:33:44 +00:00
parent 4b9842d27d
commit 394832e100
+1 -1
View File
@@ -107,7 +107,7 @@
if (isset($backupprefs->$var) && $backupprefs->$var) {
$var = "backup_".$modname;
//Only if selected
if ($backupprefs->$var == 1) {
if (!empty($backupprefs->$var) and ($backupprefs->$var == 1)) {
//Print the full tr
echo "<tr>";
echo "<td colspan=\"2\">";