1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-26 15:54:43 +02:00

Test fixes. Email arraySet() test added.

This commit is contained in:
Cameron
2020-08-11 08:30:00 -07:00
parent 0f02e9a9a2
commit 370fdb13f6
6 changed files with 156 additions and 10 deletions

View File

@@ -11,7 +11,7 @@ class siteinfo_shortcodes // must match the folder name of the plugin.
function sc_sitebutton($parm=null)
{
if($_POST['sitebutton'] && $_POST['ajax_used'])
if(!empty($_POST['sitebutton']) && !empty($_POST['ajax_used']))
{
$path = e107::getParser()->replaceConstants($_POST['sitebutton']);
}