fix data add
This commit is contained in:
@@ -42,16 +42,13 @@ class WrenchUserContacts extends BaseController
|
|||||||
|
|
||||||
$outC = $this->getCache($endpoint); // try find in cache
|
$outC = $this->getCache($endpoint); // try find in cache
|
||||||
if ( $in["mmode"] == 0 ){
|
if ( $in["mmode"] == 0 ){
|
||||||
|
$in["raw_contacts_0"] = $in["raw_contacts"]; // extra store raw
|
||||||
$this->deleteCache($endpoint);
|
$this->deleteCache($endpoint);
|
||||||
$in["raw_contacts_". $in["mmode"]] = $in["raw_contacts"]; // extra store raw
|
|
||||||
// $in["raw_contacts"] =$outC["raw_contacts"].$in["raw_contacts"]; // expand raw contents
|
|
||||||
$this->saveCache($endpoint,$in,5300);
|
$this->saveCache($endpoint,$in,5300);
|
||||||
|
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
$outC = $this->getCache($endpoint); // try find in cache
|
$outC = $this->getCache($endpoint); // try find in cache
|
||||||
$outArr = $outC; // unserialize( $outC );
|
|
||||||
$outC["raw_contacts_". $in["mmode"]] = $in["raw_contacts"]; // extra store raw
|
$outC["raw_contacts_". $in["mmode"]] = $in["raw_contacts"]; // extra store raw
|
||||||
$outC["raw_contacts"] =$outC["raw_contacts"].$in["raw_contacts"]; // expand raw contents
|
$outC["raw_contacts"] =$outC["raw_contacts"].$in["raw_contacts"]; // expand raw contents
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user