Update list.php

sql error.
Merge pull request #1271 from braito4/patch-5

Update list.php