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

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