>
diff --git a/assets/modules/easy2/includes/tpl/pages/file.comments.inc.php b/assets/modules/easy2/includes/tpl/pages/file.comments.inc.php
index 137508e..3881eed 100644
--- a/assets/modules/easy2/includes/tpl/pages/file.comments.inc.php
+++ b/assets/modules/easy2/includes/tpl/pages/file.comments.inc.php
@@ -3,7 +3,7 @@
die("INCLUDE_ORDERING_ERROR
Please use the MODx Content Manager instead of accessing this file directly.");
$res = mysql_query('SELECT * FROM ' . $this->modx->db->config['table_prefix'] . 'easy2_files WHERE id=' . (int) $this->sanitizedGets['file_id']);
-$row = mysql_fetch_array($res, MYSQL_ASSOC);
+$row = mysql_fetch_assoc($res);
mysql_free_result($res);
?>
|