Skip to content

Commit f24c629

Browse files
committed
FIX Uncaught TypeError: sizeof() in \lib\functions\testsuite.class.php
on line 1094
1 parent 232644f commit f24c629

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lib/functions/testsuite.class.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1091,7 +1091,7 @@ private function addKeyword($id,$kw_id) {
10911091
$debugMsg = 'Class:' . __CLASS__ . ' - Method: ' . __FUNCTION__;
10921092
$status = 1;
10931093
$kw = $this->getKeywords($id,$kw_id);
1094-
if( $doLink = !sizeof($kw) )
1094+
if( empty($kw) )
10951095
{
10961096
$sql = "/* $debugMsg */ INSERT INTO {$this->tables['object_keywords']} " .
10971097
" (fk_id,fk_table,keyword_id) VALUES ($id,'nodes_hierarchy',$kw_id)";

0 commit comments

Comments
 (0)