bobsta63/zpanelx — pull request #4 by DimeCadmium (2012-08-13 19:32:24+00:00)
Title: Fixed your failed fix.

$sql->execute() will always return TRUE so long as there's no SQL error.
$sql->fetch() will return the row if there was one, else FALSE. This is what you need to use.