diff --git a/admin/dataentry.php b/admin/dataentry.php index 56f8612606a..e89bb51d48c 100644 --- a/admin/dataentry.php +++ b/admin/dataentry.php @@ -86,7 +86,7 @@ { $query = "SELECT language FROM {$dbprefix}surveys WHERE sid=$sid"; $result = mysql_query($query); - while ($row=mysql_fetch_row($result)) {$surveylanguage = $row['language'];} + while ($row=mysql_fetch_array($result)) {$surveylanguage = $row['language'];} if (!$templatedir) {$thistpl=$tpldir."/default";} else {$thistpl=$tpldir."/$templatedir";} if (!is_dir($thistpl)) {$thistpl=$tpldir."/default";} $langdir="$publicdir/lang";