mirror of
https://github.com/itflow-org/itflow
synced 2026-03-10 07:44:50 +00:00
Rename field as part of adding tag search
This commit is contained in:
2
post.php
2
post.php
@@ -1835,7 +1835,7 @@ if(isset($_POST['add_client'])){
|
|||||||
if(isset($_POST['tags'])){
|
if(isset($_POST['tags'])){
|
||||||
foreach($_POST['tags'] as $tag){
|
foreach($_POST['tags'] as $tag){
|
||||||
$tag = intval($tag);
|
$tag = intval($tag);
|
||||||
mysqli_query($mysqli,"INSERT INTO client_tags SET client_tags_client_id = $client_id, tag_id = $tag");
|
mysqli_query($mysqli,"INSERT INTO client_tags SET client_tags_client_id = $client_id, client_tags_tag_id = $tag");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user