ZLog::Write(LOGLEVEL_ERROR,sprintf("ASDevice->EditAdditionalFolder(): folder can not be edited because there is already a folder with the same name synchronized: '%s'",$folderid));
returnfalse;
if($checkDups){
// in order to check for the parent-ids we need a shortid
ZLog::Write(LOGLEVEL_ERROR,sprintf("ASDevice->EditAdditionalFolder(): folder can not be edited because there is already a folder with the same name synchronized: '%s'",$folderid));
returnfalse;
}
}
}
...
...
@@ -961,6 +967,7 @@ class ASDevice extends StateObject {
thrownewHTTPReturnCodeException(sprintf("The state version available to the %s is not the latest version - please run the state upgrade script. See release notes for more information.",get_class(ZPush::$stateMachine),503));
thrownewServiceUnavailableException(sprintf("The state version available to the %s is not the latest version - please run the state upgrade script. See release notes for more information.",get_class(ZPush::$stateMachine)));
@@ -290,7 +290,7 @@ class Search extends RequestProcessor {
}
$searchprovider->Disconnect();
self::$topCollector->AnnounceInformation(sprintf("'%s' search found %d results",$searchname,$rows['searchtotal']),true);
self::$topCollector->AnnounceInformation(sprintf("'%s' search found %d results",$searchname,(isset($rows['searchtotal'])?$rows['searchtotal']:0)),true);