Haplous Framework 

Haplous Framework Commit Details


Date:2014-05-06 19:02:50 (10 years 7 months ago)
Author:Natalie Adams
Branch:master
Commit:b555ea983c40a368fe3fb533f0242f6938996b24
Parents: 9eca035c3f554b8f71dcfb92768820b4f9931a1b
Message:Fixing bug that occurred with no required parameters

Changes:

File differences

system/engine/core.php
169169
170170
171171
172
172
173173
174174
175175
$numOfReqPara = $call->getNumberOfRequiredParameters();
$numOfOptPara = $call->getNumberOfParameters() - $numOfReqPara;
$remainparas = count($this->args) - $numOfReqPara;
if ($remainparas >= 0 && $remainparas <= $numOfOptPara)
if ($numOfReqPara == 0 || ($remainparas >= 0 && $remainparas <= $numOfOptPara))
{
$call->invokeArgs($this->class, $this->args);
}

Archive Download the corresponding diff file

Branches

Number of commits:
Page rendered in 0.05143s using 14 queries.