diff --git a/api/ajax_pastes.php b/api/ajax_pastes.php
index 911d272..cc2b43b 100644
--- a/api/ajax_pastes.php
+++ b/api/ajax_pastes.php
@@ -8,7 +8,7 @@ require_once('../includes/NonRetardedSSP.class.php');
function transformDataRow($row) {
$titleHtml = '' . pp_html_escape($row[1]) . '';
- $authorHtml = '' . pp_html_escape($row[2]) . '';
+ $authorHtml = '' . pp_html_escape($row[2]) . '';
$tagsHtml = tagsToHtml($row[3]);
return [