diff --git a/ToolkitApi/Toolkit.php b/ToolkitApi/Toolkit.php index 9528d7d..1a46614 100644 --- a/ToolkitApi/Toolkit.php +++ b/ToolkitApi/Toolkit.php @@ -906,7 +906,7 @@ protected function makeDbCall($internalKey, $plugSize, $controlKeyString, $input // can return false if prepare or exec failed. $outputXml = $this->db->execXMLStoredProcedure($this->conn, $sql, $bindArray); - if (!$outputXml) { + if (false === $outputXml) { // if false returned, was a database error (stored proc prepare or execute error) // @todo add ODBC SQL State codes