Skip to content

Commit 1e05b46

Browse files
committed
fixing issue with stripslashes not being in effect for read only mode fields
1 parent f950578 commit 1e05b46

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

ajaxCRUD.class.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1529,7 +1529,6 @@ function showTable(){
15291529
$canRowBeUpdated = call_user_func($this->validate_update_with_function, $id);
15301530
}
15311531

1532-
15331532
foreach($this->display_fields as $field){
15341533
$cell_data = $row[$field];
15351534

@@ -1609,7 +1608,7 @@ function showTable(){
16091608
}
16101609
}
16111610
else{
1612-
$table_html .= $cell_data;
1611+
$table_html .= stripslashes($cell_data);
16131612
}
16141613
}
16151614
}//if field is not editable

0 commit comments

Comments
 (0)