mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2025-01-31 09:06:17 +00:00
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:
parent
2b008eb66a
commit
2069b63e11
1 changed files with 2 additions and 2 deletions
|
@ -88,8 +88,8 @@
|
|||
|
||||
function executeTask($taskName, $params) {
|
||||
$class = getTaskClass($taskName);
|
||||
|
||||
if ($class != null) {
|
||||
|
||||
if ($class !== null) {
|
||||
$class->execute($params);
|
||||
} else {
|
||||
echo "Task not found: " . $taskName . "\n";
|
||||
|
|
Loading…
Add table
Reference in a new issue