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:
@@ -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))
|
||||
{
|
||||
|
@@ -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']);
|
||||
}
|
||||
|
Reference in New Issue
Block a user