Fixing a problem with PHP4

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3737 3807eeeb-6ff5-0310-8944-8be069107fe0
This commit is contained in:
dho 2006-10-24 12:10:33 +00:00
parent 2b008eb66a
commit 2069b63e11

View file

@ -89,7 +89,7 @@
function executeTask($taskName, $params) {
$class = getTaskClass($taskName);
if ($class != null) {
if ($class !== null) {
$class->execute($params);
} else {
echo "Task not found: " . $taskName . "\n";