1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-26 07:44:49 +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

@@ -340,10 +340,10 @@ class e_tohtml_linkwords
$lwClass[] = $this->word_class[$first];
}
if (!count($lwClass))
{
// if (!count($lwClass))
// {
// return $this->linksproc($sl,$first+1,$limit); // Nothing to do - move on to next word (shouldn't really get here)
}
// }
if (count($linkrel))
{

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']);
}