diff options
| author | Nils Adermann <naderman@naderman.de> | 2014-11-02 01:25:51 +0100 |
|---|---|---|
| committer | Nils Adermann <naderman@naderman.de> | 2014-11-02 01:25:51 +0100 |
| commit | 0e772afb9db640e54e84cfccaddcf74f3edbb3fb (patch) | |
| tree | 4d944f0f6c18a369683e243bcc8b94ebdb6ae3d2 /phpBB/phpbb/db/tools.php | |
| parent | a61299a9408dd3ae4a2fa97fdc2df62ca41ee150 (diff) | |
| parent | b6a4f83c412d4db7596ad677eca5551a5fc715d8 (diff) | |
| download | forums-0e772afb9db640e54e84cfccaddcf74f3edbb3fb.tar forums-0e772afb9db640e54e84cfccaddcf74f3edbb3fb.tar.gz forums-0e772afb9db640e54e84cfccaddcf74f3edbb3fb.tar.bz2 forums-0e772afb9db640e54e84cfccaddcf74f3edbb3fb.tar.xz forums-0e772afb9db640e54e84cfccaddcf74f3edbb3fb.zip | |
Merge branch 'prep-release-3.1.1' into develop-ascraeus
* prep-release-3.1.1:
[ticket/13271] Disable CC sender feature for anonymous users
[prep-release-3.1.1] Add 3.1.1 CHANGELOG
[prep-release-3.1.1] Add 3.1.1 migration file
[ticket/13263] Make sure default style exists and clean up code
[ticket/13263] Only install/set prosilver if no style available
[ticket/13263] Use prosilver as default style if user's style doesn't exist
[ticket/security-164] Correctly format page_name
[ticket/security-164] Sanitize all global variables in symfony_request class
[ticket/13248] Use functional framework login method in tests
[ticket/13248] Correctly pass provider name
[ticket/13248] Always use provider collection for getting provider
[ticket/13248] Allow specifying different auth provider in provider collection
[ticket/13248] Use auth provider collection for getting provider
[ticket/13262] Mention htaccess file when updating from 3.0 to 3.1
[ticket/13267] Update Automatic Update instructions to include vendor directory
[ticket/13268] Properly append ternary result in get_existing_indexes()
[prep-release-3.1.1] Update version number to 3.1.1
Conflicts:
build/build.xml
phpBB/includes/constants.php
phpBB/install/schemas/schema_data.sql
Diffstat (limited to 'phpBB/phpbb/db/tools.php')
| -rw-r--r-- | phpBB/phpbb/db/tools.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/phpBB/phpbb/db/tools.php b/phpBB/phpbb/db/tools.php index 0781d7425e..c8d25f23a2 100644 --- a/phpBB/phpbb/db/tools.php +++ b/phpBB/phpbb/db/tools.php @@ -2643,7 +2643,7 @@ class tools AND cols.id = ix.id WHERE ix.id = object_id('{$table_name}') AND cols.name = '{$column_name}' - AND INDEXPROPERTY(ix.id, ix.name, 'IsUnique') = " . ($unique) ? '1' : '0'; + AND INDEXPROPERTY(ix.id, ix.name, 'IsUnique') = " . ($unique ? '1' : '0'); } else { @@ -2657,7 +2657,7 @@ class tools AND cols.object_id = ix.object_id WHERE ix.object_id = object_id('{$table_name}') AND cols.name = '{$column_name}' - AND ix.is_unique = " . ($unique) ? '1' : '0'; + AND ix.is_unique = " . ($unique ? '1' : '0'); } break; |
