Proyectos de Subversion LeadersLinked - Backend

Rev

Rev 16769 | Ir a la última revisión | Mostrar el archivo completo | | | Autoría | Ultima modificación | Ver Log |

Rev 16769 Rev 16817
Línea 456... Línea 456...
456
                    {
456
                    {
457
                        $key_comment = $competency->uuid . '-' . $behavior->uuid . '-comment';
457
                        $key_comment = $competency->uuid . '-' . $behavior->uuid . '-comment';
458
                        $key_points = $competency->uuid . '-' . $behavior->uuid . '-points';
458
                        $key_points = $competency->uuid . '-' . $behavior->uuid . '-points';
Línea 459... Línea -...
459
                        
-
 
460
                        
459
                        
461
                        if(!empty($_POST[$key_comment])) {
-
 
462
                            $value_comment = Functions::sanitizeFilterString($_POST[$key_comment]);
460
                        
463
                        } else {
-
 
464
                            $value_comment = '';
-
 
Línea 465... Línea -...
465
 
-
 
466
                        }
461
                        $value_comment = Functions::sanitizeFilterString($this->params()->fromPost([$key_comment]));
467
                        
-
 
468
                        if(!empty($_POST[$key_points])) {
-
 
469
                            $value_points = intval( filter_var($_POST[$key_points], FILTER_SANITIZE_NUMBER_INT), 10);
-
 
470
                        } else {
-
 
Línea 471... Línea 462...
471
                            $value_points = 0;
462
                        $value_comment = empty($value_comment) ? '' : $value_comment;
472
                            
463
                        
473
                        }
464
                        $value_points = intval($this->params()->fromPost($key_points), 10);
474
                        
465