aboutsummaryrefslogtreecommitdiff
path: root/boca-1.5.0/src/team/problem.php
diff options
context:
space:
mode:
authorcassiopc <cassiopc@gmail.com>2012-08-06 15:27:18 +0000
committercassiopc <cassiopc@gmail.com>2012-08-06 15:27:18 +0000
commitd75956684f9599b8daf705b11d67c75186ea7e3f (patch)
treeb22f943e9ab3c6849898e3cf5e9659a7ed24b359 /boca-1.5.0/src/team/problem.php
parent2c2663e03f56149ad4c909858b93fb3c1ea9f271 (diff)
downloadboca-d75956684f9599b8daf705b11d67c75186ea7e3f.tar.gz
boca-d75956684f9599b8daf705b11d67c75186ea7e3f.zip
moving problem examples to better places and fixing a couple of typos in the problem's interface
Diffstat (limited to 'boca-1.5.0/src/team/problem.php')
-rw-r--r--boca-1.5.0/src/team/problem.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/boca-1.5.0/src/team/problem.php b/boca-1.5.0/src/team/problem.php
index c5bc8cb..2627990 100644
--- a/boca-1.5.0/src/team/problem.php
+++ b/boca-1.5.0/src/team/problem.php
@@ -42,7 +42,7 @@ for ($i=0; $i<count($prob); $i++) {
echo "</td>\n";
echo " <td nowrap>" . $prob[$i]["basefilename"] . "&nbsp;</td>\n";
echo " <td nowrap>" . $prob[$i]["fullname"] . "&nbsp;</td>\n";
- if (isset($prob[$i]["descoid"]) && $prob[$i]["descoid"] != null) {
+ if (isset($prob[$i]["descoid"]) && $prob[$i]["descoid"] != null && isset($prob[$i]["descfilename"])) {
echo " <td nowrap><a href=\"../filedownload.php?" . filedownload($prob[$i]["descoid"], $prob[$i]["descfilename"]) .
"\">" . basename($prob[$i]["descfilename"]) . "</td>\n";
}