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

Commit

Permalink
correct upload helper
Browse files Browse the repository at this point in the history
  • Loading branch information
astridx committed May 29, 2022
1 parent c773db8 commit 1436cb2
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@
* @license GNU General Public License version 2 or later;
* @link astrid-guenther.de
*/
namespace AG\Module\Agosms\Site\Helper;
namespace AG\Module\Agosm\Site\Helper;

defined('_JEXEC') or die;
\defined('_JEXEC') or die;

// No direct access
defined('_JEXEC') or die;
Expand All @@ -26,7 +26,7 @@
*
* @since 1.0.40
*/
class EasyFileUploaderHelper
class AgosmsEasyFileUploaderHelper
{

/**
Expand Down
4 changes: 2 additions & 2 deletions j4/pkg_agosms/src/modules/mod_agosm/tmpl/upload.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,10 @@

use Joomla\CMS\Language\Text;
use Joomla\CMS\Uri\Uri;
use AG\Module\Agosms\Site\Helper\EasyFileUploaderHelper;
use AG\Module\Agosm\Site\Helper\AgosmsEasyFileUploaderHelper;

if (isset($_FILES[$params->get('ag_variable')])) {
$result = EasyFileUploaderHelper::getFileToUpload($params);
$result = AgosmsEasyFileUploaderHelper::getFileToUpload($params);
}

$defaultArray = [];
Expand Down

0 comments on commit 1436cb2

Please sign in to comment.