Fixed bug in document_list.php

Fixed bug in document_list.php