Skip to content
This repository has been archived by the owner on Aug 16, 2023. It is now read-only.

Commit

Permalink
[BUGFIX] MailTester: bad php syntaxe on array testing
Browse files Browse the repository at this point in the history
  • Loading branch information
cmonard committed Jun 18, 2019
1 parent 16ccf1e commit a43bf2f
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Classes/Scheduler/MailTester.php
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ public function getAdditionalInformation() {
* @return FALSE when missing parameters, otherwise array of result (sent, fail)
*/
protected static function sendMail($param = array()) {
if (count($param > 0) && isset($param['to']) && isset($param['body'])) {
if (count($param) > 0 && isset($param['to']) && isset($param['body'])) {
/* @var $mail \TYPO3\CMS\Core\Mail\MailMessage */
$mail = \TYPO3\CMS\Core\Utility\GeneralUtility::makeInstance('TYPO3\\CMS\\Core\\Mail\\MailMessage');
// To
Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "archriss/arc-utility",
"type": "typo3-cms-extension",
"version": "1.2.0",
"version": "1.2.1",
"description": "Collection of usefull utility in scheduler and viewhelper",
"license": "GPL-2.0",
"authors": [
Expand Down
2 changes: 1 addition & 1 deletion ext_emconf.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
'title' => 'Archriss - Utility testers',
'description' => 'Collection of usefull utility in scheduler and viewhelper',
'category' => 'Archriss',
'version' => '1.2.0',
'version' => '1.2.1',
'state' => 'stable',
'uploadfolder' => 0,
'createDirs' => '',
Expand Down

0 comments on commit a43bf2f

Please sign in to comment.