Merge https://github.com/redmatrix/redmatrix into pending_merge
Conflicts: install/update.php
This commit is contained in:
@@ -722,7 +722,7 @@ function attach_store($channel, $observer_hash, $options = '', $arr = null) {
|
||||
intval($filesize),
|
||||
intval(1),
|
||||
intval($is_photo),
|
||||
dbesc($os_relpath),
|
||||
dbesc($os_basepath . $os_relpath),
|
||||
dbesc($created),
|
||||
intval($existing_id),
|
||||
intval($channel_id)
|
||||
@@ -742,7 +742,7 @@ function attach_store($channel, $observer_hash, $options = '', $arr = null) {
|
||||
intval($x[0]['revision'] + 1),
|
||||
intval(1),
|
||||
intval($is_photo),
|
||||
dbesc($os_relpath),
|
||||
dbesc($os_basepath . $os_relpath),
|
||||
dbesc($created),
|
||||
dbesc($created),
|
||||
dbesc($x[0]['allow_cid']),
|
||||
@@ -783,7 +783,7 @@ function attach_store($channel, $observer_hash, $options = '', $arr = null) {
|
||||
intval(0),
|
||||
intval(1),
|
||||
intval($is_photo),
|
||||
dbesc($os_relpath),
|
||||
dbesc($os_basepath . $os_relpath),
|
||||
dbesc($created),
|
||||
dbesc($created),
|
||||
dbesc(($arr && array_key_exists('allow_cid',$arr)) ? $arr['allow_cid'] : $str_contact_allow),
|
||||
|
||||
Reference in New Issue
Block a user