title: PHP Undefined offset Message when using "list" function
body: <p>I got this error on my website this morning when I click on post-ad </p>
  
  <p>I have tried looking at the code but don't seem to find anything wrong</p>
  
  <pre><code>if (!function_exists('adforest_extarct_link')) {
  
      function adforest_extarct_link($string) {
          $arr = explode('|', $string);
          list($url, $title, $target, $rel) = $arr; /* This is line 148 */
          $rel = urldecode(adforest_themeGetExplode($rel, ':', '1'));
          $url = urldecode(adforest_themeGetExplode($url, ':', '1'));
          $title = urldecode(adforest_themeGetExplode($title, ':', '1'));
          $target = urldecode(adforest_themeGetExplode($target, ':', '1'));
          return array("url" =&gt; $url, "title" =&gt; $title, "target" =&gt; $target, "rel" =&gt; $rel);
      }
  </code></pre>
  
  <p>This is the error Message </p>
  
  <blockquote>
    <p>Undefined offset: 3 in /customers/7/6/1/corpersmarket.com/httpd.www/wp-content/themes/adforest/inc/theme_shortcodes/short_codes_functions.php on line 148</p>
  </blockquote>
  
  <p>It actually has 3 lines of error: </p>
  
  <pre><code>Notice: Undefined offset: 1 in /customers/7/6/1/corpersmarket.com/httpd.www/wp-content/themes/adforest/inc/theme_shortcodes/short_codes_functions.php on line 148 
  Notice: Undefined offset: 2 in /customers/7/6/1/corpersmarket.com/httpd.www/wp-content/themes/adforest/inc/theme_shortcodes/short_codes_functions.php on line 148 
  Notice: Undefined offset: 3 in /customers/7/6/1/corpersmarket.com/httpd.www/wp-content/themes/adforest/inc/theme_shortcodes/short_codes_functions.php on line 148
  </code></pre>