The following warnings occurred:
Warning [2] Undefined array key "threadviews_countguests" - Line: 745 - File: showthread.php PHP 8.1.31 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/showthread.php 745 errorHandler->error_callback
Warning [2] Undefined array key "allowautourl" - Line: 584 - File: inc/class_parser.php PHP 8.1.31 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/inc/class_parser.php 584 errorHandler->error_callback
/inc/class_parser.php 228 postParser->parse_mycode
/inc/functions_post.php 830 postParser->parse_message
/showthread.php 916 build_postbit
Warning [2] Undefined property: MyLanguage::$thread_modes - Line: 46 - File: showthread.php(1650) : eval()'d code PHP 8.1.31 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/showthread.php(1650) : eval()'d code 46 errorHandler->error_callback
/showthread.php 1650 eval




Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Missing letter in php-script
#1
GetSimple v2.0; admin/components.php, line 55:

I should think so, its right part of code:
Code:
$ct = 0; $coArray = array();
foreach ($ids as $id)
{
    if ( ($title[$ct] != null) && ($value[$ct] != null) )
    {
        if ( $slug[$ct] == null )
        {
            $slug_tmp = to7bit($title[$ct], 'UTF-8');
            $slug[$ct] = clean_url($slug_tmp);
            $slug_tmp = '';
        }
        
        $coArray[$ct]['id'] = $ids[$ct];
        $coArray[$ct]['title'] = htmlentities($title[$ct], ENT_QUOTES, 'UTF-8');
        $coArray[$ct]['slug'] = $slug[$ct];
        $coArray[$ct]['value'] = htmlentities($value[$ct], ENT_QUOTES, 'UTF-8');
    }
    $ct++;
}

before:
Code:
$coArray[$ct]['id'] = $id[$ct];
Reply


Messages In This Thread
Missing letter in php-script - by kirillaristov - 2010-02-26, 12:31:58
Missing letter in php-script - by ccagle8 - 2010-02-26, 12:45:33
Missing letter in php-script - by kirillaristov - 2010-03-24, 12:49:13
Missing letter in php-script - by sal - 2010-03-24, 20:06:06
Missing letter in php-script - by n00dles101 - 2010-03-24, 20:14:19
Missing letter in php-script - by sal - 2010-03-24, 20:25:12
Missing letter in php-script - by n00dles101 - 2010-03-24, 21:22:37
Missing letter in php-script - by ccagle8 - 2010-03-25, 20:27:17



Users browsing this thread: 1 Guest(s)