CloneSet814


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
13201.000if_statement
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
113555
administrator/components/com_content/models/article.php
211635
administrator/components/com_menus/models/item.php
Clone Instance
1
Line Count
13
Source Line
555
Source File
administrator/components/com_content/models/article.php

                        // Check that the row actually exists
                        if (!$table->load($pk))
                        {
                                if ($error=  $table->getError())
                                {
                                        // Fatal error
                                        $this->setError($error);
                                        return FALSE;
                                      }
                                else
                                {
                                        // Not fatal error
                                        $this->setError(JText::sprintf('Menus_Batch_Move_row_not_found', $pk));
                                        continue;
                                      }
                              }


Clone Instance
2
Line Count
11
Source Line
635
Source File
administrator/components/com_menus/models/item.php

                        // Check that the row actually exists
                        if (!$table->load($pk))
                        {
                                if ($error=  $table->getError()) {
                                        // Fatal error
                                        $this->setError($error);
                                        return FALSE;
                                      }
                                else {
                                        // Not fatal error
                                        $this->setError(JText::sprintf('Menus_Batch_Move_row_not_found', $pk));
                                        continue;
                                      }
                              }


Clone AbstractionParameter Count: 0Parameter Bindings

// Check that the row actually exists
if (!$table->load($pk)) {
  if ($error=$table->getError()) {
    // Fatal error
    $this->setError($error);
    return FALSE;
  }
  else {
    // Not fatal error
    $this->setError(JText::sprintf('Menus_Batch_Move_row_not_found',$pk));
    continue;
  }
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
None