コード: 全て選択
function runSnippet($snippetName, $params= array ())
{
if (isset ($this->snippetCache[$snippetName]))
・・・・・・・・・・・・・・・・・・・・・・・・・・・・・
if ($this->db->getRecordCount($result) == 1)
{
ココ→ $snippet= $this->snippetCache[$snippetName]= $row['snippet'];
ココ→ $properties= $this->snippetCache["{$snippetName}Props"]= $row['properties'];
}
・・・・・・・・・・・・・・・・・・・・・・・・・・・・・
}
1.0.6-r4にて以下の一行を挿入したら正常に動作しました。
コード: 全て選択
function runSnippet($snippetName, $params= array ())
{
if (isset ($this->snippetCache[$snippetName]))
・・・・・・・・・・・・・・・・・・・・・・・・・・・・・
if ($this->db->getRecordCount($result) == 1)
{
ココ→ $row = $this->db->getRow($result);
$snippet= $this->snippetCache[$snippetName]= $row['snippet'];
$properties= $this->snippetCache["{$snippetName}Props"]= $row['properties'];
}
・・・・・・・・・・・・・・・・・・・・・・・・・・・・・
}