Update phpcdatabase.class.php

Fix a warning on logout in the demo
Merge pull request #24 from sabas/patch-12

Update phpcdatabase.class.php