Skip to content

Commit

Permalink
functions.php
Browse files Browse the repository at this point in the history
  • Loading branch information
satopian committed Nov 6, 2021
1 parent 1e14f72 commit 963a525
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions petitnote/functions.php
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,6 @@ function admin_del(){
session_regenerate_id(true);
$page=filter_input(INPUT_POST,'postpage',FILTER_VALIDATE_INT);
$page = isset($page) ? $page : 0;


$_SESSION['aikotoba']='aikotoba';

Expand Down Expand Up @@ -256,7 +255,7 @@ function create_res($line){
'name' => $name,
'verified' => $verified,
'com' => $com,
'descriptioncom' => strip_tags(mb_strcut($com,0,100)),
'descriptioncom' => strip_tags(mb_strcut(str_replace('"\n"'," ",$com),0,100)),
'url' => $url,
'img' => $imgfile,
'thumbnail' => $thumbnail,
Expand Down

0 comments on commit 963a525

Please sign in to comment.