Skip to content

Commit e4cddee

Browse files
committed
fix bug with decrypt string helper
1 parent ccf37fa commit e4cddee

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/helpers.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,6 @@ function db_decrypt($column)
4444
*/
4545
function db_decrypt_string($column, $value, $operator = 'LIKE')
4646
{
47-
return 'AES_DECRYPT('.$column.', "'.config("mysql-encrypt.key").'") "'.$operator.'" "'.$value.'" COLLATE utf8mb4_general_ci';
47+
return 'AES_DECRYPT('.$column.', "'.config("mysql-encrypt.key").'") '.$operator.' "'.$value.'" COLLATE utf8mb4_general_ci';
4848
}
4949
}

0 commit comments

Comments
 (0)